Bump actions/checkout from 6.0.3 to 7.0.0 (#849) #14
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| lint: | |
| name: Lint workflows | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: false | |
| env: | |
| FORCE_COLOR: 1 | |
| TERM: xterm | |
| permissions: | |
| actions: read # Scan GitHub Actions workflows | |
| contents: read # Checkout the repository | |
| security-events: write # Store results in the Security tab | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| show-progress: false | |
| - name: Add actionlint problem matcher | |
| run: echo "::add-matcher::.github/actionlint-matcher.json" | |
| - name: Lint workflows with actionlint | |
| uses: docker://rhysd/actionlint:1.7.12@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 | |
| with: | |
| args: -color | |
| - name: Lint workflows with zizmor | |
| uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6 |