Bump dependency zizmor to v1.16.0 (#530) #1360
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: [ main ] | |
| paths-ignore: | |
| - '**/*.gitattributes' | |
| - '**/*.gitignore' | |
| - '**/*.md' | |
| pull_request: | |
| branches: | |
| - main | |
| - dotnet-vnext | |
| - dotnet-nightly | |
| workflow_dispatch: | |
| permissions: {} | |
| env: | |
| FORCE_COLOR: 3 | |
| TERM: xterm | |
| # renovate: datasource=github-releases depName=zizmor packageName=zizmorcore/zizmor | |
| ZIZMOR_VERSION: '1.16.0' | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| filter: 'tree:0' | |
| 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.8@sha256:96d4a8c87dbbfb3bdd324f8fdc285fc3df5261e2decc619a4dd7e8ee52bbfd46 | |
| with: | |
| args: -color | |
| - name: Lint workflows with zizmor | |
| uses: zizmorcore/zizmor-action@e673c3917a1aef3c65c972347ed84ccd013ecda4 # v0.2.0 | |
| with: | |
| persona: pedantic | |
| version: ${{ env.ZIZMOR_VERSION }} | |
| - name: Lint markdown | |
| uses: DavidAnson/markdownlint-cli2-action@992badcdf24e3b8eb7e87ff9287fe931bcb00c6e # v20.0.0 | |
| with: | |
| config: '.markdownlint.json' | |
| globs: | | |
| **/*.md |