-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NET-4895] ci - api tests and consul container tests error because of…
… dependency bugs with go 1.20.6. Pin go to 1.20.5. (#18124) The following jobs started failing when go 1.20.6 was released: - `go-test-api-1-19` - `go-test-api-1-20` - `compatibility-integration-tests` - `upgrade-integration-tests` `compatibility-integration-tests` and `compatibility-integration-tests` to this testcontainers issue: testcontainers/testcontainers-go#1359. This issue calls for testcontainers to release a new version when one of their dependencies is fixed. When that is done, we will unpin the go versions in `compatibility-integration-tests` and `compatibility-integration-tests`. See these jobs broken in CI and then see them work with this PR. --------- Co-authored-by: Chris Thain <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 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 |
---|---|---|
|
@@ -33,6 +33,10 @@ on: | |
required: false | ||
type: string | ||
default: "" | ||
go-version: | ||
required: false | ||
type: string | ||
default: "" | ||
secrets: | ||
elevated-github-token: | ||
required: true | ||
|
@@ -57,7 +61,13 @@ jobs: | |
- name: Setup Git | ||
if: ${{ endsWith(inputs.repository-name, '-enterprise') }} | ||
run: git config --global url."https://${{ secrets.elevated-github-token }}:@github.com".insteadOf "https://github.com" | ||
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # [email protected] | ||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | ||
if: ${{ inputs.go-version != '' }} | ||
with: | ||
go-version: ${{ inputs.go-version }} | ||
cache: true | ||
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | ||
if: ${{ inputs.go-version == '' }} | ||
with: | ||
go-version-file: 'go.mod' | ||
cache: true | ||
|
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