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 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