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

Commit

Permalink
chore: check for latest version of go before installation (#9671)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
  • Loading branch information
odubajDT committed May 11, 2023
1 parent 3b37c41 commit ac5a4f2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-cli.yml
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
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
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
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

0 comments on commit ac5a4f2

Please sign in to comment.