Skip to content

Commit

Permalink
Run Go tests
Browse files Browse the repository at this point in the history
  • Loading branch information
qba73 committed Mar 7, 2024
1 parent b825697 commit 41ec7c3
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,12 @@ jobs:
test:
strategy:
matrix:
go-version: ['stable']
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: [1.20.x, 1.21.x, 1.22.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- run: go test ./...
govulncheck:
runs-on: ubuntu-latest
steps:
- uses: golang/govulncheck-action@v1
with:
go-version-input: 1.22
gocritic:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/checkout@v3
- run: |
go install github.com/go-critic/go-critic/cmd/gocritic@latest
gocritic check .

0 comments on commit 41ec7c3

Please sign in to comment.