diff options
author | Markus Wüstenberg | 2021-10-06 20:51:31 +0200 |
---|---|---|
committer | GitHub | 2021-10-06 20:51:31 +0200 |
commit | 44c274483724ae6771544d805d13124b1f5fb84c (patch) | |
tree | fbd5bf7b04f74458638e1b221ff4372b3cbae390 | |
parent | 4858e5d47d5bed0221a19ab46af306b8eab5935d (diff) | |
download | gomponents-44c274483724ae6771544d805d13124b1f5fb84c.tar.lz gomponents-44c274483724ae6771544d805d13124b1f5fb84c.tar.zst gomponents-44c274483724ae6771544d805d13124b1f5fb84c.zip |
Test using Go 1.17 (#91)
Also set the new `-shuffle` flag when testing.
-rw-r--r-- | .github/workflows/go.yml | 7 | ||||
-rw-r--r-- | Makefile | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 1f74973..6f605e0 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 diff --git a/Makefile b/Makefile index 925c1e3..94178dc 100644 --- a/Makefile +++ b/Makefile @@ -10,5 +10,5 @@ lint: golangci-lint run test: - go test -coverprofile=cover.out ./... + go test -coverprofile=cover.out -shuffle on ./... |