Skip to content

Commit

Permalink
fix gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Apr 20, 2024
1 parent 51eadcb commit 25a175f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: [1.18.x, 1.19.x, 1.20.x]
go-version: [1.20.x, 1.21.x, 1.22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -15,12 +15,8 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Build Test
run: go test -c -covermode atomic -o ./draco.test .
working-directory: ./draco
- name: Run Test
run: ./draco.test -test.coverprofile ../profile.cov
working-directory: ./draco
run: go test -covermode atomic -coverprofile profile.cov ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
Expand Down

0 comments on commit 25a175f

Please sign in to comment.