From 34a7e704c7e9f59d3b219250f5a9788acae46d92 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Mon, 29 Aug 2022 16:32:24 +0200 Subject: [PATCH] upgrade CI tools Signed-off-by: Pierre Fenoll --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 70b6db6d9..d34061a04 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -66,7 +66,7 @@ jobs: env: GOARCH: '386' - run: go test ./... - - run: go test -count=2 ./... + - run: go test -count=2 -covermode=atomic ./... - run: go test -v -run TestRaceyPatternSchema -race ./... env: CGO_ENABLED: '1' @@ -151,7 +151,7 @@ jobs: - uses: actions/setup-go@v3 with: go-version: '>=1.17.0' - - run: go install github.com/incu6us/goimports-reviser/v2@v2.5.1 + - run: go install github.com/incu6us/goimports-reviser/v2@latest - run: which goimports-reviser - run: find . -type f -iname '*.go' ! -iname '*.pb.go' -exec goimports-reviser -file-path {} \; - run: git --no-pager diff --exit-code