From e6cfc5103e57419f8eb4b9b244979e5e9a5e1847 Mon Sep 17 00:00:00 2001 From: Pion <59523206+pionbot@users.noreply.github.com> Date: Wed, 13 Apr 2022 15:59:34 +0000 Subject: [PATCH] Update CI configs to v0.7.1 Update lint scripts and CI configs. --- .github/workflows/test.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index eba60e0..80f75d0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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