Skip to content

Commit a47f9f2

Browse files
committed
build: upgrade Go to version 1.19
1 parent 3472a12 commit a47f9f2

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Set up Go
4545
uses: actions/setup-go@v3
4646
with:
47-
go-version: 1.18
47+
go-version-file: go.mod
4848
- name: Import GPG key
4949
uses: crazy-max/ghaction-import-gpg@v5
5050
id: import_gpg

.github/workflows/test.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
runs-on: ubuntu-latest
2323
timeout-minutes: 5
2424
steps:
25+
- name: Check out code into the Go module directory
26+
uses: actions/checkout@v3
27+
2528
- name: Set up Go
2629
uses: actions/setup-go@v3
2730
with:
28-
go-version: "1.18"
31+
go-version-file: go.mod
2932
id: go
3033

31-
- name: Check out code into the Go module directory
32-
uses: actions/checkout@v3
33-
3434
- name: Get dependencies
3535
run: |
3636
go mod download
@@ -54,15 +54,15 @@ jobs:
5454
- "1.1.*"
5555
- "1.2.*"
5656
steps:
57+
- name: Check out code into the Go module directory
58+
uses: actions/checkout@v3
59+
5760
- name: Set up Go
5861
uses: actions/setup-go@v3
5962
with:
60-
go-version: "1.18"
63+
go-version-file: go.mod
6164
id: go
6265

63-
- name: Check out code into the Go module directory
64-
uses: actions/checkout@v3
65-
6666
- name: Get dependencies
6767
run: |
6868
go mod download

.goreleaser.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
before:
44
hooks:
55
# this is just an example and not a requirement for provider building/publishing
6-
- go mod tidy -compat=1.18
6+
- go mod tidy
77
builds:
88
- env:
99
# goreleaser does not work with CGO, it could also complicate

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
devShells.default = pkgs.mkShell {
1414
packages = [
1515
pkgs.delve
16-
pkgs.go_1_18
16+
pkgs.go_1_19
1717
pkgs.go-tools
1818
pkgs.gomodifytags
1919
pkgs.gopls

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/tensor5/terraform-provider-talos
22

3-
go 1.18
3+
go 1.19
44

55
replace inet.af/tcpproxy => github.com/smira/tcpproxy v0.0.0-20201015133617-de5f7797b95b
66

0 commit comments

Comments
 (0)