Skip to content

Commit 540f9dd

Browse files
authored
Merge pull request #78 from nspcc-dev/fix-go-version
Fix Go version in GitHub workflows
2 parents 579aa35 + 5411193 commit 540f9dd

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Go
3333
uses: actions/setup-go@v5
3434
with:
35-
go-version-file: 'go.mod'
35+
go-version: '1.22'
3636
cache: true
3737

3838
- name: Update Go modules

.github/workflows/go.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
- name: Check out code
1818
uses: actions/checkout@v4
1919

20+
- name: Set up Go from go.mod
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version-file: 'go.mod'
24+
2025
- name: golangci-lint
2126
uses: golangci/golangci-lint-action@v3
2227
with:

0 commit comments

Comments
 (0)