1
0

Test using Go 1.17 (#91)

Also set the new `-shuffle` flag when testing.
This commit is contained in:
Markus Wüstenberg 2021-10-06 20:51:31 +02:00 committed by GitHub
parent 4858e5d47d
commit 44c2744837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 6 deletions

View File

@ -17,16 +17,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: ^1.16
- name: Get dependencies
run: go get -v -t -d ./...
go-version: ^1.17
- name: Build
run: go build -v ./...
- name: Test
run: go test -v -coverprofile=coverage.txt ./...
run: go test -v -coverprofile=coverage.txt -shuffle on ./...
- name: Coverage
uses: codecov/codecov-action@v1.0.13

View File

@ -10,5 +10,5 @@ lint:
golangci-lint run
test:
go test -coverprofile=cover.out ./...
go test -coverprofile=cover.out -shuffle on ./...