Skip to content

Commit 1faf966

Browse files
committed
chore: update Go version in CI workflows
1 parent 2b8a777 commit 1faf966

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/default.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest, macos-latest]
18+
version: [1.25.x, 1.26.x]
1819
runs-on: ${{ matrix.os }}
1920
env:
2021
OUTPUTDIR: coverage
@@ -25,8 +26,7 @@ jobs:
2526
fetch-depth: 0
2627
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2728
with:
28-
go-version-file: go.mod
29-
cache-dependency-path: go.sum
29+
go-version: ${{ matrix.version }}
3030

3131
- name: Run tests
3232
run: make test

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1313
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
1414
with:
15-
go-version-file: go.mod
15+
go-version: 1.26.x
1616

1717
# Golangci-lint action is flaky, so we run it manually
1818
- name: Run golangci-lint
1919
shell: bash
2020
run: |
21-
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.1.2
22-
make lint
21+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.11.3
22+
make lint

0 commit comments

Comments
 (0)