File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,19 @@ jobs:
19
19
with :
20
20
go-version : ${{ matrix.go }}
21
21
- name : Checkout
22
- uses : actions/checkout@v2
22
+ uses : actions/checkout@v4
23
23
- name : Cache Modules
24
- uses : actions/cache@v2
24
+ uses : actions/cache@v4
25
25
with :
26
26
path : ~/go/pkg/mod
27
27
key : ${{ runner.os }}-go-v1-${{ hashFiles('**/go.sum') }}
28
28
restore-keys : |
29
29
${{ runner.os }}-go-
30
30
- name : Run tests
31
31
run : go test -v ./...
32
+
33
+ release :
34
+ needs : test
35
+ if : github.ref == 'refs/heads/master'
36
+ uses : upfluence/actions/.github/workflows/lib-any-release.yml@master
37
+ secrets : inherit
Original file line number Diff line number Diff line change 8
8
timeout-minutes : 30
9
9
steps :
10
10
- name : Install go
11
- uses : actions/setup-go@v2
11
+ uses : actions/setup-go@v4
12
12
with :
13
- go-version : v1.20
13
+ go-version : ' v1.20'
14
14
- name : Check out code
15
- uses : actions/checkout@v1
15
+ uses : actions/checkout@v4
16
16
- name : golanci-lint
17
17
uses : upfluence/action-golangci-lint@master
18
18
with :
You can’t perform that action at this time.
0 commit comments