Merge pull request #290 from smallstep/carl/add-zizmor-frizbee #560
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: CI | |
| on: | |
| push: | |
| tags-ignore: | |
| - "**" | |
| branches: | |
| - main | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| actionlint: | |
| name: Lint GitHub workflows | |
| uses: ./.github/workflows/actionlint.yml | |
| zizmor: | |
| name: Scan GitHub workflows | |
| uses: ./.github/workflows/zizmor.yml | |
| frizbee: | |
| name: Check action pinning | |
| uses: ./.github/workflows/frizbee.yml | |
| lint-dummy-app: # NOTE(@azazeal): this check is here to verify that .golangci.yml is valid | |
| name: Lint dummy app | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: true | |
| - name: Run Linter | |
| uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0 | |
| with: | |
| working-directory: lintapp | |
| version: latest | |
| verify: true | |
| args: --config=../.golangci.yml |