File tree 3 files changed +22
-17
lines changed 3 files changed +22
-17
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy
1
+ name : Release
2
2
3
3
on :
4
4
push :
5
5
tags :
6
6
- v[0-9]+.[0-9]+.[0-9]+
7
7
8
8
jobs :
9
- deploy :
9
+ release :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/setup-go@v1
13
- with :
14
- go-version : 1.13.x
15
12
- uses : actions/checkout@v2
13
+ - uses : actions/setup-go@v2
14
+ with :
15
+ go-version : 1.14.x
16
16
- name : get dependencies
17
17
run : go get -v -t -d ./...
18
18
- name : test race
19
19
run : go test -v -race ./...
20
- - uses : goreleaser/goreleaser-action@v1
20
+ - uses : goreleaser/goreleaser-action@v2
21
21
with :
22
22
args : release --rm-dist
23
23
env :
Original file line number Diff line number Diff line change 8
8
vendor :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/setup-go@v1
12
- with :
13
- go-version : 1.13.x
14
11
- uses : actions/checkout@v2
12
+ - uses : actions/setup-go@v2
13
+ with :
14
+ go-version : 1.14.x
15
15
- name : get dependencies
16
16
run : go get -v -t -d ./...
17
17
- name : vendoring
18
18
run : go mod vendor
19
19
20
- - uses : actions/upload-artifact@v1
20
+ - uses : actions/upload-artifact@v2
21
21
with :
22
22
name : repository
23
23
path : .
@@ -27,16 +27,20 @@ jobs:
27
27
needs : vendor
28
28
steps :
29
29
- uses : actions/checkout@v2
30
- - uses : kyoh86/action-golangci-lint@v1
30
+ - name : golangci-lint
31
+ uses : golangci/golangci-lint-action@v1
32
+ with :
33
+ # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
34
+ version : v1.27
31
35
32
36
test :
33
37
runs-on : ubuntu-latest
34
38
needs : vendor
35
39
steps :
36
- - uses : actions/setup-go@v1
40
+ - uses : actions/setup-go@v2
37
41
with :
38
- go-version : 1.13 .x
39
- - uses : actions/download-artifact@v1
42
+ go-version : 1.14 .x
43
+ - uses : actions/download-artifact@v2
40
44
with :
41
45
name : repository
42
46
path : .
@@ -47,10 +51,10 @@ jobs:
47
51
runs-on : ubuntu-latest
48
52
needs : vendor
49
53
steps :
50
- - uses : actions/setup-go@v1
54
+ - uses : actions/setup-go@v2
51
55
with :
52
- go-version : 1.13 .x
53
- - uses : actions/download-artifact@v1
56
+ go-version : 1.14 .x
57
+ - uses : actions/download-artifact@v2
54
58
with :
55
59
name : repository
56
60
path : .
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ An analyzer that finds exporting pointers for loop variables.
4
4
5
5
[ ![ Go Report Card] ( https://goreportcard.com/badge/github.com/kyoh86/exportloopref )] ( https://goreportcard.com/report/github.com/kyoh86/exportloopref )
6
6
[ ![ Coverage Status] ( https://img.shields.io/codecov/c/github/kyoh86/exportloopref.svg )] ( https://codecov.io/gh/kyoh86/exportloopref )
7
+ [ ![ Release] ( https://github.com/kyoh86/exportloopref/workflows/Release/badge.svg )] ( https://github.com/kyoh86/exportloopref/releases )
7
8
8
9
## What's this?
9
10
You can’t perform that action at this time.
0 commit comments