Add QEMU to docker actions to build on more platforms (#273) #514
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 | |
| 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 | |
| secrets: inherit | |
| 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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 | |
| with: | |
| submodules: true | |
| - name: Run Linter | |
| uses: golangci/golangci-lint-action@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9.1.0 | |
| with: | |
| working-directory: lintapp | |
| version: latest | |
| verify: true | |
| args: --config=../.golangci.yml |