Skip to content

Commit d6e59d0

Browse files
authored
tests: bump actions, golangci-lint and go version (#5)
* Update GitHub Actions to use latest versions * Update golangci-lint workflow to use newer versions
1 parent c8e931d commit d6e59d0

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
# Only ubuntu allows for docker support - https://docs.github.com/en/actions/using-containerized-services/about-service-containers
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4.2.2
18+
- uses: actions/checkout@v6
1919

2020
- name: Set up Go
21-
uses: actions/setup-go@v5.3.0
21+
uses: actions/setup-go@v6
2222
with:
2323
go-version: '1.24'
2424

@@ -43,4 +43,4 @@ jobs:
4343
# with:
4444
# go-version: '1.24'
4545
# - name: Test
46-
# run: make short-test
46+
# run: make short-test

.github/workflows/golangci-lint.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
name: lint
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
20-
- uses: actions/setup-go@v5
19+
- uses: actions/checkout@v6
20+
- uses: actions/setup-go@v6
2121
with:
22-
go-version: '1.24'
22+
go-version: '1.26'
2323
cache: false
2424
- name: golangci-lint
25-
uses: golangci/golangci-lint-action@v8
25+
uses: golangci/golangci-lint-action@v9
2626
with:
2727
# Require: The version of golangci-lint to use.
2828
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
2929
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
30-
version: v2.5.0
30+
version: v2.11.4
3131

3232
# Optional: working directory, useful for monorepos
3333
# working-directory: somedir
@@ -52,4 +52,4 @@ jobs:
5252
# skip-build-cache: true
5353

5454
# Optional: The mode to install golangci-lint. It can be 'binary' or 'goinstall'.
55-
# install-mode: "goinstall"
55+
# install-mode: "goinstall"

0 commit comments

Comments
 (0)