File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66
77jobs :
8- ci :
9- name : CI
8+ build-test :
9+ name : ci
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748 # v3.0.0
2020
2121 - name : Build
2222 run : go build .
23+
24+ golangci :
25+ name : lint
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748 # v2.4.0
29+ - uses : actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v2.2.0
30+ with :
31+ go-version : 1.18
32+ check-latest : true
33+ - name : golangci-lint
34+ uses : golangci/golangci-lint-action@b517f99ae23d86ecc4c0dec08dcf48d2336abc29 # v3
35+ timeout-minutes : 5
36+ with :
37+ # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
38+ version : v1.45.2
You can’t perform that action at this time.
0 commit comments