From 42b10995c81dc556ab8a9ab5623de62923d5e023 Mon Sep 17 00:00:00 2001 From: Pion <59523206+pionbot@users.noreply.github.com> Date: Thu, 28 Jan 2021 22:04:34 +0000 Subject: [PATCH] Update CI configs to v0.4.20 Update lint scripts and CI configs. --- .github/workflows/test.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 95e3ba0..b2a6b39 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,6 +21,7 @@ jobs: with: path: | ~/go/pkg/mod + ~/go/bin ~/.cache key: ${{ runner.os }}-amd64-go-${{ hashFiles('**/go.sum') }} restore-keys: | @@ -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: