Upgrade go to 1.20 to reflect latest packer-plugins-sdk go version and unblock gomod upgrades
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>
This commit is contained in:
parent
81c1ea03ee
commit
88e56ca729
2
.github/workflows/go-test.yml
vendored
2
.github/workflows/go-test.yml
vendored
@ -19,6 +19,6 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: "1.20"
|
||||||
- name: Run go tests
|
- name: Run go tests
|
||||||
run: go test -race -count 1 ./... -timeout=3m
|
run: go test -race -count 1 ./... -timeout=3m
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: "1.20"
|
||||||
- name: Describe plugin
|
- name: Describe plugin
|
||||||
id: plugin_describe
|
id: plugin_describe
|
||||||
run: echo "::set-output name=api_version::$(go run . describe | jq -r '.api_version')"
|
run: echo "::set-output name=api_version::$(go run . describe | jq -r '.api_version')"
|
||||||
|
1
.go-version
Normal file
1
.go-version
Normal file
@ -0,0 +1 @@
|
|||||||
|
1.20.11
|
@ -45,7 +45,7 @@ If you are using an older version of packer or are still using json templates yo
|
|||||||
### Dependencies
|
### Dependencies
|
||||||
* Packer >= v1.7.1 (https://packer.io)
|
* Packer >= v1.7.1 (https://packer.io)
|
||||||
* XenServer / Citrix Hypervisor > 7.6
|
* XenServer / Citrix Hypervisor > 7.6
|
||||||
* Golang 1.17
|
* Golang 1.20
|
||||||
|
|
||||||
## Compile the plugin
|
## Compile the plugin
|
||||||
|
|
||||||
|
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module github.com/xenserver/packer-builder-xenserver
|
module github.com/xenserver/packer-builder-xenserver
|
||||||
|
|
||||||
go 1.17
|
go 1.20
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/amfranz/go-xmlrpc-client v0.0.0-20190612172737-76858463955d
|
github.com/amfranz/go-xmlrpc-client v0.0.0-20190612172737-76858463955d
|
||||||
|
Loading…
Reference in New Issue
Block a user