Skip to content

Commit aabd8a7

Browse files
committed
fix: install golangci-lint from golangci/golangci-lint#5872 while go 1.25 is rc
1 parent 298cc8c commit aabd8a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@v4
2626
with:
27-
go-version: '~1.25.0-rc.1'
27+
go-version: '~1.25.0-rc.2'
2828

2929
- name: Build
3030
run: go tool mage -v compile
3131
- name: Golangci-lint
3232
uses: golangci/[email protected]
33-
with: {}
33+
with:
34+
# needed to build it from source so it uses 1.25rc
35+
install-mode: goinstall
36+
# https://github.com/golangci/golangci-lint/pull/5872
37+
version: 5971d1c3110cef16b9b24a37878240e835047229
3438
- name: Other Lint
3539
run: go tool mage -v lint:other
3640
- name: Test

0 commit comments

Comments
 (0)