Skip to content

Commit

Permalink
Update CI configs to v0.7.1
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 Apr 13, 2022
1 parent 33c5bd7 commit 7106201
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:
with:
go-version: ${{ matrix.go }}

- name: Setup go-acc
run: |
go get github.com/ory/go-acc
git checkout go.mod go.sum
- name: Set up gotestfmt
uses: haveyoudebuggedit/gotestfmt-action@v2
with:
Expand All @@ -54,11 +59,10 @@ jobs:
if [ -f .github/.ci.conf ]; then . .github/.ci.conf; fi
set -euo pipefail
go test -coverprofile=cover.out -covermode=atomic \
go-acc -o cover.out ./... -- \
${TEST_BENCH_OPTION} \
-json \
-v -race \
./... 2>&1 | tee /tmp/gotest.log | gotestfmt
-v -race 2>&1 | tee /tmp/gotest.log | gotestfmt
- name: Upload test log
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 7106201

Please sign in to comment.