File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,14 @@ jobs:
3030
3131 steps :
3232 - name : Install Go ${{ matrix.go }}
33- uses : actions/setup-go@v2
33+ uses : actions/setup-go@v4
3434 with :
3535 go-version : ${{ matrix.go }}
36+ cache : false
3637 - name : Checkout
37- uses : actions/checkout@v2
38+ uses : actions/checkout@v4
3839 - name : Cache Modules
39- uses : actions/cache@v2
40+ uses : actions/cache@v4
4041 with :
4142 path : ~/go/pkg/mod
4243 key : ${{ runner.os }}-go-v1-${{ hashFiles('**/go.sum') }}
4647 run : go test -p 1 -v ./...
4748 env :
4849 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 88 timeout-minutes : 30
99 steps :
1010 - name : Install Go
11- uses : actions/setup-go@v2
11+ uses : actions/setup-go@v4
1212 with :
13- go-version : 1.18 .x
13+ go-version : 1.21 .x
1414 - name : Check out code
15- uses : actions/checkout@v1
15+ uses : actions/checkout@v4
1616 - name : golanci-lint
1717 uses : upfluence/action-golangci-lint@master
1818 with :
You can’t perform that action at this time.
0 commit comments