Merge pull request #12828 from chrisroberts/go-setup-mod

Update go version configuration in setup
This commit is contained in:
Chris Roberts 2022-08-03 11:17:06 -07:00 committed by GitHub
commit fe84a4738b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '>=1.17.11'
go-version-file: go.mod
- name: Build RubyGem and binary
run: ./.ci/build.sh
working-directory: ${{github.workspace}}

View File

@ -30,7 +30,7 @@ jobs:
# to be based off a tag
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{matrix.go}}
- name: Setup Ruby

View File

@ -32,7 +32,7 @@ jobs:
- name: Code Checkout
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: ${{matrix.go}}
- name: Setup Ruby

View File

@ -21,7 +21,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '>=1.17.11'
go-version-file: go.mod
- name: Create Builders Release
run: ./.ci/release.sh
working-directory: ${{github.workspace}}

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/hashicorp/vagrant
go 1.13
go 1.17
require (
cloud.google.com/go/storage v1.18.2 // indirect