File tree 1 file changed +18
-14
lines changed
1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change 13
13
GOLANGCI_LINT_VERSION : v1.61.0
14
14
15
15
jobs :
16
+ setup :
17
+ name : Setup
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Checkout
21
+ uses : actions/checkout@v4
22
+
23
+ - name : Setup go
24
+ uses : actions/setup-go@v5
25
+ with :
26
+ go-version-file : ./go.mod
27
+
16
28
lint :
17
29
name : Lint Go
18
30
runs-on : ubuntu-latest
19
31
steps :
20
- - name : Checkout
21
- uses : actions/checkout@v4
22
-
23
- - name : Setup go
24
- uses : actions/setup-go@v5
25
- with :
26
- go-version-file : ./go.mod
27
-
28
32
- name : Run golangci-lint
29
33
uses : golangci/golangci-lint-action@v6
30
34
with :
@@ -39,13 +43,13 @@ jobs:
39
43
needs : lint
40
44
runs-on : ubuntu-latest
41
45
steps :
42
- - name : Checkout
43
- uses : actions/checkout@v4
46
+ # - name: Checkout
47
+ # uses: actions/checkout@v4
44
48
45
- - name : Setup go
46
- uses : actions/setup-go@v5
47
- with :
48
- go-version-file : ./go.mod
49
+ # - name: Setup go
50
+ # uses: actions/setup-go@v5
51
+ # with:
52
+ # go-version-file: ./go.mod
49
53
50
54
- name : Setup Mage
51
55
uses : magefile/mage-action@v3
You can’t perform that action at this time.
0 commit comments