Skip to content

Commit 556e80e

Browse files
[workflow] Make workflow use go.mod golang version
1 parent b9946a8 commit 556e80e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: set up go
2323
uses: actions/setup-go@v5
2424
with:
25-
go-version: ">=1.22.4"
25+
go-version-file: 'go.mod'
2626

2727
- name: tests modules
2828
run: |

.github/workflows/linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: set up go
1515
uses: actions/setup-go@v5
1616
with:
17-
go-version: ">=1.22.4"
17+
go-version-file: 'go.mod'
1818

1919
- name: golangci-lint
2020
uses: golangci/golangci-lint-action@v6

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: set up go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: ">=1.22.4"
18+
go-version-file: 'go.mod'
1919

2020
- name: running unit-tests
2121
run: |

0 commit comments

Comments
 (0)