Skip to content

Commit 4e89335

Browse files
Upgrade github actions
1 parent fe33a56 commit 4e89335

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
name: lint
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- name: Cache-Go
16-
uses: actions/cache@v1
16+
uses: actions/cache@v4
1717
with:
1818
path: |
1919
~/go/pkg/mod # Module download cache
@@ -23,6 +23,6 @@ jobs:
2323
restore-keys: |
2424
${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
2525
- name: golangci-lint
26-
uses: golangci/golangci-lint-action@v3
26+
uses: golangci/golangci-lint-action@v7
2727
with:
2828
version: latest

.github/workflows/releaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Set up Go
13-
uses: actions/setup-go@v2
13+
uses: actions/setup-go@v5
1414
with:
1515
go-version: 1.20.x
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020
- name: Cache-Go
21-
uses: actions/cache@v1
21+
uses: actions/cache@v4
2222
with:
2323
path: |
2424
~/go/pkg/mod # Module download cache
@@ -30,7 +30,7 @@ jobs:
3030
- name: Test
3131
run: go test ./...
3232
- name: Run GoReleaser
33-
uses: goreleaser/goreleaser-action@v5
33+
uses: goreleaser/goreleaser-action@v6
3434
with:
3535
distribution: goreleaser
3636
version: latest

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
steps:
1111
- name: Install Go
12-
uses: actions/setup-go@v2
12+
uses: actions/setup-go@v5
1313
with:
1414
go-version: ${{ matrix.go-version }}
1515
- name: Checkout code
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
- name: Cache-Go
18-
uses: actions/cache@v1
18+
uses: actions/cache@v4
1919
with:
2020
path: |
2121
~/go/pkg/mod # Module download cache

0 commit comments

Comments
 (0)