mirror of
https://github.com/netbirdio/ice-old.git
synced 2026-05-22 17:08:24 -07:00
Update CI configs to v0.7.1
Update lint scripts and CI configs.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user