Skip to content

Commit e2f79b7

Browse files
committed
Fix: Use new test scripts in GH action
We can do this because: * golanci-lint already uses go vet internally * ginkgo command does what `go test -race` did and more
1 parent 9eba08c commit e2f79b7

File tree

2 files changed

+30
-39
lines changed

2 files changed

+30
-39
lines changed

.github/workflows/go.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/scripts.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: scripts
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- v[0-9]*
8+
pull_request:
9+
branches:
10+
- main
11+
- v[0-9]*
12+
13+
jobs:
14+
unit-test:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-go@v5
19+
with:
20+
go-version-file: "go.mod"
21+
- run: ./scripts/subtests/unit-test
22+
23+
lint:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: actions/setup-go@v5
28+
with:
29+
go-version-file: "go.mod"
30+
- run: ./scripts/subtests/lint

0 commit comments

Comments
 (0)