Merge pull request #2958 from gobitfly/NOBIDS/throttle_service_status… #3379
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: Static Check | |
on: | |
push: | |
branches: | |
- master | |
- staging | |
pull_request: | |
branches: | |
- staging | |
- master | |
jobs: | |
ci: | |
name: "Run CI" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["ubuntu-latest"] | |
go: ["1.21.x"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 1 | |
- uses: WillAbides/setup-go-faster@v1.14.0 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: make all | |
- run: "go test ./..." | |
- run: "go vet ./..." | |
- uses: dominikh/staticcheck-action@v1.3.1 | |
with: | |
version: "2023.1.7" | |
install-go: false | |
cache-key: ${{ matrix.go }} |