File tree 2 files changed +13
-6
lines changed
2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,14 @@ jobs:
30
30
31
31
steps :
32
32
- name : Install Go ${{ matrix.go }}
33
- uses : actions/setup-go@v2
33
+ uses : actions/setup-go@v4
34
34
with :
35
35
go-version : ${{ matrix.go }}
36
+ cache : false
36
37
- name : Checkout
37
- uses : actions/checkout@v2
38
+ uses : actions/checkout@v4
38
39
- name : Cache Modules
39
- uses : actions/cache@v2
40
+ uses : actions/cache@v4
40
41
with :
41
42
path : ~/go/pkg/mod
42
43
key : ${{ runner.os }}-go-v1-${{ hashFiles('**/go.sum') }}
46
47
run : go test -p 1 -v ./...
47
48
env :
48
49
POSTGRES_URL : postgres://postgres:postgres@localhost:5432/tata_test?sslmode=disable
50
+
51
+ release :
52
+ needs : test
53
+ if : github.ref == 'refs/heads/master'
54
+ uses : upfluence/actions/.github/workflows/lib-any-release.yml@master
55
+ 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 : 1.18 .x
13
+ go-version : 1.21 .x
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