Skip to content

Commit cc5d93b

Browse files
authored
Update the build for go get update install (#8)
Update the builds so they work with go 1.18 where the ability for go get update to install has been removed.
1 parent ad3ba99 commit cc5d93b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/build_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Go 1.x
1616
uses: actions/setup-go@v2
1717
with:
18-
go-version: ^1.15
18+
go-version: ^1.16
1919
id: go
2020

2121
- name: Check out code into the Go module directory

.github/workflows/publish_release_on_tag.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Set up Go 1.x
1515
uses: actions/setup-go@v2
1616
with:
17-
go-version: ^1.15
17+
go-version: ^1.16
1818
id: go
1919

2020
- name: Checkout code

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
TOOL?=vault-plugin-auth-ibmcloud
22
TEST?=$$(go list ./... | grep -v /vendor/)
33
EXTERNAL_TOOLS=\
4-
github.com/mitchellh/gox
4+
github.com/mitchellh/gox@v1.0.1
55
BUILD_TAGS?=${TOOL}
66
GOFMT_FILES?=$$(find . -name '*.go' | grep -v vendor)
77
TEST_ARGS?=./...
@@ -38,7 +38,7 @@ generate:
3838
bootstrap:
3939
@for tool in $(EXTERNAL_TOOLS) ; do \
4040
echo "Installing/Updating $$tool" ; \
41-
go get -u $$tool; \
41+
go install $$tool; \
4242
done
4343

4444
fmtcheck:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module vault-plugin-auth-ibmcloud
22

3-
go 1.14
3+
go 1.16
44

55
require (
66
github.com/coreos/go-oidc v2.2.1+incompatible

0 commit comments

Comments
 (0)