Skip to content

Commit

Permalink
Update CI configs to v0.4.20
Browse files Browse the repository at this point in the history
Update lint scripts and CI configs.
  • Loading branch information
pionbot authored and Sean-Der committed Jan 28, 2021
1 parent f3c0774 commit 4f18d96
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
path: |
~/go/pkg/mod
~/go/bin
~/.cache
key: ${{ runner.os }}-amd64-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
Expand All @@ -31,13 +32,15 @@ jobs:
with:
go-version: ${{ matrix.go }}

- name: Setup go-acc
run: |
go get -u github.com/ory/go-acc
- name: Run test
run: |
go test \
-coverprofile=cover.out -covermode=atomic \
go-acc -o cover.out ./... -- \
-bench=. \
${TEST_EXTRA_ARGS:-} \
-v -race ./...
-v -race
- uses: codecov/codecov-action@v1
with:
Expand Down

0 comments on commit 4f18d96

Please sign in to comment.