App option to disable APQ #231
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: Continuous Integration | |
on: [push] | |
jobs: | |
format: | |
name: format | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
go: [1.17] | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go ${{ matrix.go }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Format Go files | |
run: make fmt | |
- name: Exit If Git Diff | |
run: | | |
chmod +x ./scripts/exit_if_diff.sh | |
./scripts/exit_if_diff.sh | |
lint: | |
name: lint | |
runs-on: ${{ matrix.os }} | |
needs: [format] | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
go: [1.17] | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Setup ${{ matrix.go }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Lint ${{ matrix.workdir }} | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest |