Skip to content

Commit 6b12f3f

Browse files
authored
Merge pull request #43 from upfluence/xg/DRA-2152/updateci
.github/workflows/*.yml: update action versions
2 parents f22af9d + 0fde9dc commit 6b12f3f

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.github/workflows/ci.yml

+10-3
Original file line numberDiff line numberDiff 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') }}
@@ -46,3 +47,9 @@ jobs:
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

.github/workflows/lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ jobs:
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:

0 commit comments

Comments
 (0)