Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

chore: check for latest version of go before installation #9671

Merged
merged 1 commit into from
May 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
check-latest: true
go-version: ${{ env.GO_VERSION }}
- name: Checkout Code
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
check-latest: true
go-version: ${{ env.GO_VERSION }}

- name: Check out code.
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/security-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
if: matrix.tool == 'kubeconform'
uses: actions/setup-go@v4
with:
check-latest: true
go-version: ${{ env.GO_VERSION }}

- name: Check out code
Expand Down Expand Up @@ -138,6 +139,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
check-latest: true
go-version: ${{ env.GO_VERSION }}

- name: Checkout Code
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-and-build-docker-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
with:
go-version: ${{ env.GO_VERSION }}
cache: true
check-latest: true
cache-dependency-path: '${{ inputs.working-dir }}go.sum'

- name: Set up gotestsum
Expand Down