Skip to content

Commit

Permalink
Use go 1.21.6 (#629)
Browse files Browse the repository at this point in the history
* Use go 1.21.6

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>

* Install a newer go manually for codeql

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>

---------

Signed-off-by: Kimmo Lehto <klehto@mirantis.com>
  • Loading branch information
kke authored Jan 11, 2024
1 parent fbcc620 commit 1889c20
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

# Added as suggested in https://github.com/github/codeql-action/issues/1842 to bring in a newer go than exists
# preinstalled on the runners
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ module github.com/k0sproject/k0sctl

go 1.21

toolchain go1.21.6

require (
github.com/AlecAivazis/survey/v2 v2.3.7
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
Expand Down

0 comments on commit 1889c20

Please sign in to comment.