-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1434 from cyberark/fix-ci-go-errors
Update to Go 1.16
- Loading branch information
Showing
25 changed files
with
655 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,16 @@ jobs: | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
# Uninstall old go | ||
- run: brew uninstall [email protected] | ||
# Install go1.16 | ||
- run: brew install [email protected] | ||
# Add go1.16 to PATH | ||
- run: echo "/usr/local/opt/[email protected]/bin" >> $GITHUB_PATH | ||
# Get go version | ||
- run: go version | ||
# Fix go1.16 module bug (https://github.com/golang/go/issues/44129#issuecomment-865249631) | ||
- run: go env -w GOFLAGS=-mod=mod | ||
# Download go modules | ||
- run: go mod download | ||
# Run keychain tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
FROM golang:1.12.5 | ||
FROM golang:1.16 | ||
|
||
WORKDIR / | ||
|
||
ENV GO111MODULE=on | ||
|
||
RUN git clone --depth 1 \ | ||
-b fix-runners \ | ||
https://github.com/conjurinc/code-generator.git && \ | ||
cd /code-generator && \ | ||
./build_generators && \ | ||
cp -r dist/* /usr/local/bin | ||
ARG K8S_PKG_TAG | ||
|
||
RUN git clone --depth 1 --branch ${K8S_PKG_TAG} https://github.com/kubernetes/code-generator.git | ||
|
||
WORKDIR /secretless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.