Skip to content

Commit ed32b3d

Browse files
authored
Use go-version-file instead of go-version (#206)
1 parent 801b11d commit ed32b3d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Go
2424
uses: actions/setup-go@v3
2525
with:
26-
go-version: 1.19
26+
go-version-file: 'go.mod'
2727
- name: Run tests
2828
run: make test
2929
- name: Run build

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Go
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: 1.19
29+
go-version-file: 'go.mod'
3030
- name: Install TFLint
3131
run: curl -sL https://raw.githubusercontent.com/terraform-linters/tflint/master/install_linux.sh | bash
3232
- name: Install plugin (Linux)

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v3
2121
with:
22-
go-version: 1.19
22+
go-version-file: 'go.mod'
2323
- name: Run GoReleaser
2424
uses: goreleaser/goreleaser-action@v3
2525
with:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v3
2020
with:
21-
go-version: 1.19
21+
go-version-file: 'go.mod'
2222
- name: Run GoReleaser
2323
uses: goreleaser/goreleaser-action@v3
2424
with:

0 commit comments

Comments
 (0)