File tree 3 files changed +10
-16
lines changed
3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change 6
6
branches :
7
7
- main
8
8
9
- env :
10
- GO_VERSION : ' 1.17.9'
11
-
12
9
permissions :
13
10
contents : read # to fetch code (actions/checkout)
14
11
22
19
persist-credentials : false
23
20
- uses : actions/setup-go@v3
24
21
with :
25
- go-version : ${{ env.GO_VERSION }}
22
+ go-version-file : .go-version
26
23
cache : true
27
24
28
25
- run : make test
35
32
persist-credentials : false
36
33
- uses : actions/setup-go@v3
37
34
with :
38
- go-version : ${{ env.GO_VERSION }}
35
+ go-version-file : .go-version
39
36
cache : true
40
37
41
38
- run : make test
48
45
persist-credentials : false
49
46
- uses : actions/setup-go@v3
50
47
with :
51
- go-version : ${{ env.GO_VERSION }}
48
+ go-version-file : .go-version
52
49
cache : true
53
50
54
51
- run : make test
62
59
63
60
- uses : actions/setup-go@v3
64
61
with :
65
- go-version : ${{ env.GO_VERSION }}
62
+ go-version-file : .go-version
66
63
67
64
- name : Run golangci-lint
68
65
uses : golangci/golangci-lint-action@v3
Original file line number Diff line number Diff line change 5
5
tags :
6
6
- ' v*'
7
7
8
- env :
9
- GO_VERSION : ' 1.17.9'
10
-
11
8
permissions :
12
9
contents : read # to fetch code (actions/checkout)
13
10
21
18
persist-credentials : false
22
19
- uses : actions/setup-go@v3
23
20
with :
24
- go-version : ${{ env.GO_VERSION }}
21
+ go-version-file : .go-version
25
22
cache : true
26
23
27
24
- run : make test
34
31
persist-credentials : false
35
32
- uses : actions/setup-go@v3
36
33
with :
37
- go-version : ${{ env.GO_VERSION }}
34
+ go-version-file : .go-version
38
35
cache : true
39
36
40
37
- run : make test
47
44
persist-credentials : false
48
45
- uses : actions/setup-go@v3
49
46
with :
50
- go-version : ${{ env.GO_VERSION }}
47
+ go-version-file : .go-version
51
48
cache : true
52
49
53
50
- run : make test
60
57
61
58
- uses : actions/setup-go@v3
62
59
with :
63
- go-version : ${{ env.GO_VERSION }}
60
+ go-version-file : .go-version
64
61
65
62
- name : Run golangci-lint
66
63
uses : golangci/golangci-lint-action@v3
89
86
- run : git fetch --prune --unshallow
90
87
- uses : actions/setup-go@v3
91
88
with :
92
- go-version : ${{ env.GO_VERSION }}
89
+ go-version-file : .go-version
93
90
cache : true
94
91
95
92
- name : Run GoReleaser
Original file line number Diff line number Diff line change 1
- 1.17.9
1
+ 1.17.13
You can’t perform that action at this time.
0 commit comments