Skip to content

Commit

Permalink
fix windows action build error
Browse files Browse the repository at this point in the history
  • Loading branch information
shockerli committed Oct 20, 2021
1 parent 4bd9550 commit 9ab0adb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build:
strategy:
matrix:
go-version: [ 1.13, 1.16 ]
go-version: [ 1.13 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -25,10 +25,10 @@ jobs:
go-version: ${{ matrix.go-version }}

- name: Run tests
run: |
make test-race fmt vet
go test -coverprofile=coverage.txt -covermode=atomic ./...
run: make test-race fmt vet

- name: Upload coverage to Codecov
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' && matrix.go-version == '1.13' }}
run: bash <(curl -s https://codecov.io/bash)
run: |
go test -coverprofile=coverage.txt -covermode=atomic ./...
bash <(curl -s https://codecov.io/bash)

0 comments on commit 9ab0adb

Please sign in to comment.