File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,21 +9,8 @@ permissions:
99 contents : read
1010
1111jobs :
12- test :
13- name : Test
14- runs-on : ubuntu-latest
15- steps :
16- - uses : actions/checkout@v4
17-
18- - uses : actions/setup-go@v5
19- with :
20- go-version-file : go.mod
21-
22- - name : Run tests
23- run : make test
24-
25- lint :
26- name : Lint
12+ ci :
13+ name : CI
2714 runs-on : ubuntu-latest
2815 steps :
2916 - uses : actions/checkout@v4
@@ -35,18 +22,14 @@ jobs:
3522 - name : Install golangci-lint
3623 run : curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin
3724
38- - name : Lint
39- run : make lint
40-
41- vet :
42- name : Vet
43- runs-on : ubuntu-latest
44- steps :
45- - uses : actions/checkout@v4
46-
47- - uses : actions/setup-go@v5
48- with :
49- go-version-file : go.mod
25+ - name : Format check
26+ run : test -z "$(gofmt -l .)"
5027
5128 - name : Vet
5229 run : make vet
30+
31+ - name : Lint
32+ run : make lint
33+
34+ - name : Test
35+ run : make test
You can’t perform that action at this time.
0 commit comments