Skip to content

Commit

Permalink
test: upgrade to 1-22 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cep21 committed Apr 3, 2024
1 parent 45574d3 commit f69ddf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
# Note: We support the three latest Go versions
go-version: [1.19.x, 1.20.x, 1.21.x]
go-version: [1.20.x, 1.21.x, 1.22.x]
name: Test
runs-on: ubuntu-latest
steps:
Expand All @@ -32,13 +32,13 @@ jobs:
- name: Verify
run: go mod verify
- name: Test
run: env "GORACE=halt_on_error=1" go test -v -race ./...
run: env "GORACE=halt_on_error=1" go test -v -race -count 10 ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
- name: Output coverage
run: go test -v -covermode=count -coverprofile=coverage.out ./...
- name: upload coverage
uses: shogo82148/actions-goveralls@v1
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && matrix.go-version == '1.21.x'
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && matrix.go-version == '1.22.x'
with:
path-to-profile: coverage.out

0 comments on commit f69ddf1

Please sign in to comment.