Skip to content

Commit b23b219

Browse files
committed
ci: run repository-wide Go checks
1 parent ecb7e35 commit b23b219

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

.github/workflows/irc2p.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: IRC2P deterministic
1+
name: CI
22

33
on:
44
push:
@@ -10,14 +10,20 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
deterministic:
13+
verify:
1414
runs-on: ubuntu-latest
15-
timeout-minutes: 8
15+
timeout-minutes: 15
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: actions/setup-go@v5
1919
with:
2020
go-version-file: go.mod
2121
cache: true
22-
- name: Verify SAM and tunnel packages
23-
run: go test -p=1 -count=1 ./cmd/toyirc ./networking/internal/tunnel ./networking/internal/router ./node/internal/runtime
22+
- name: Install gojgp
23+
run: go install github.com/gosuda/JustGoodPractices/cmd/gojgp@v1.2.0
24+
- name: Run all tests
25+
run: go test -count=1 ./...
26+
- name: Run go vet
27+
run: go vet ./...
28+
- name: Run gojgp
29+
run: gojgp lint ./...

0 commit comments

Comments
 (0)