From 659b7e4d64cc7569d02823bdcd424224e29ba968 Mon Sep 17 00:00:00 2001 From: Dimitri Koshkin Date: Tue, 22 Oct 2024 11:54:56 -0700 Subject: [PATCH 1/2] feat: update Go to 1.22.8 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 04e3fd5..d889e08 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/YaleUniversity/packer-provisioner-goss -go 1.16 +go 1.22.8 require ( github.com/hashicorp/hcl/v2 v2.21.0 From 25b332762b14f2fe3aff93088ed99fb0b08a86a1 Mon Sep 17 00:00:00 2001 From: Dimitri Koshkin Date: Tue, 22 Oct 2024 11:55:17 -0700 Subject: [PATCH 2/2] build: use Go version from go.mod --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a4a8f58..ebf78af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: name: Set up Go uses: actions/setup-go@v5 with: - go-version: "1.21" + go-version-file: go.mod # if tag release - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4732093..94dbe30 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version-file: go.mod cache: false - name: go get