Update CI configs to v0.7.1

Update lint scripts and CI configs.
This commit is contained in:
Pion
2022-04-13 12:10:19 -04:00
committed by Sean DuBois
parent 48cce1fca1
commit e6cfc5103e
+7 -3
View File
@@ -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:
@@ -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