chore(deps): bump actions/checkout from 3 to 4 #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint YAML Files | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "**/*.yml" | |
- "**/*.yaml" | |
pull_request: | |
branches: [main] | |
paths: | |
- "**/*.yml" | |
- "**/*.yaml" | |
workflow_call: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint YAML Files | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
strategy: | |
fail-fast: true | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
cache-dependency-path: "go.sum" | |
- name: Install dependencies | |
run: "go install github.com/caarlos0/svu@latest" | |
- name: Run make lint-yaml | |
run: make lint-yaml |