Skip to content

Commit 489ee20

Browse files
zyv4ykrubenv
authored andcommitted
ci pipelines update due to security reasons
1 parent 6499745 commit 489ee20

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
goarch: [amd64]
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
18-
- uses: wangyoucao577/go-release-action@v1.38
17+
uses: actions/checkout@v4
18+
- uses: wangyoucao577/go-release-action@v1.53
1919
with:
2020
github_token: ${{ secrets.GITHUB_TOKEN }}
2121
goos: ${{ matrix.goos }}
2222
goarch: ${{ matrix.goarch }}
23-
goversion: 1.20
23+
goversion: 1.23
2424
pre_command: export CGO_ENABLED=0
2525
project_path: "./sql-migrate"

.github/workflows/test.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: checkout
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
- name: setup-go
18-
uses: actions/setup-go@v4
18+
uses: actions/setup-go@v5
1919
with:
2020
go-version: ${{ matrix.go-version }}
2121
cache: true
@@ -28,17 +28,17 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: checkout
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
- name: setup-go
33-
uses: actions/setup-go@v4
33+
uses: actions/setup-go@v5
3434
with:
3535
go-version: "1.24"
3636
cache: true
3737
cache-dependency-path: go.sum
3838
- name: golangci-lint
39-
uses: golangci/golangci-lint-action@v3
39+
uses: golangci/golangci-lint-action@v7
4040
with:
41-
version: v1.55.2
41+
version: v1.64
4242
- name: go mod tidy
4343
run: go mod tidy
4444
- name: check for any changes
@@ -85,9 +85,9 @@ jobs:
8585
PGPASSWORD: "password"
8686
steps:
8787
- name: checkout
88-
uses: actions/checkout@v3
88+
uses: actions/checkout@v4
8989
- name: setup-go
90-
uses: actions/setup-go@v4
90+
uses: actions/setup-go@v5
9191
with:
9292
go-version: ${{ matrix.go-version }}
9393
cache: true

0 commit comments

Comments
 (0)