Skip to content

Commit c52eeac

Browse files
committed
chore: make lint happy
1 parent 8d23f8b commit c52eeac

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/pull.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- name: Set up Go
99
uses: actions/setup-go@master
1010
with:
11-
go-version: "1.24"
11+
go-version: "^1.26"
1212

1313
- name: Check out code into the Go module directory
1414
uses: actions/checkout@master
@@ -33,3 +33,5 @@ jobs:
3333

3434
# Optional: if set to true then the action don't cache or restore ~/.cache/go-build.
3535
# skip-build-cache: true
36+
37+
install-mode: goinstall

.github/workflows/push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- name: Set up Go
99
uses: actions/setup-go@master
1010
with:
11-
go-version: "1.24"
11+
go-version: "^1.26"
1212

1313
- name: Check out code into the Go module directory
1414
uses: actions/checkout@master
@@ -18,6 +18,8 @@ jobs:
1818
with:
1919
version: latest
2020
args: --issues-exit-code=0 --timeout=10m
21+
install-mode: goinstall
22+
2123
- name: Commit back
2224
continue-on-error: true
2325
run: |

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ run:
5656
deadline: 15m
5757
issues-exit-code: 1
5858
tests: false
59-
go: '1.24'
59+
go: '^1.26'
6060

6161
# output configuration options
6262
output:

0 commit comments

Comments
 (0)