File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 cache : true
2727 - name : Go vet
2828 run : |
29+ packages=()
30+ while IFS= read -r package; do
31+ packages+=("$package")
32+ done < <(go list ./... | grep -v '/node_modules/' | grep -v '^github.com/aethelred/aethelred/app$')
33+ printf 'vetting %d non-app Go packages\n' "${#packages[@]}"
2934 (
3035 while true; do
3136 sleep 60
3439 ) &
3540 heartbeat_pid=$!
3641 trap 'kill "$heartbeat_pid" 2>/dev/null || true' EXIT
37- go vet -p 2 -copylocks=false ./...
42+ go vet -p 2 -copylocks=false "${packages[@]}"
3843
3944 go-test :
4045 name : Go Test
@@ -66,11 +71,11 @@ jobs:
6671 ) &
6772 heartbeat_pid=$!
6873 trap 'kill "$heartbeat_pid" 2>/dev/null || true' EXIT
69- go test -v -count=1 -timeout=120s -coverprofile=coverage-app.out ./app -run 'TestNewApp|TestSecureCellsHandlers_GovernmentAgentReadinessSurfaces'
74+ go test -v -count=1 -timeout=120s ./app -run 'TestNewApp|TestSecureCellsHandlers_GovernmentAgentReadinessSurfaces'
7075 - name : Upload coverage
7176 uses : codecov/codecov-action@v4
7277 with :
73- files : coverage.out,coverage-app.out
78+ files : coverage.out
7479 token : ${{ secrets.CODECOV_TOKEN }}
7580
7681 go-build :
You can’t perform that action at this time.
0 commit comments