Skip to content

Commit 1889c20

Browse files
authored
Use go 1.21.6 (#629)
* Use go 1.21.6 Signed-off-by: Kimmo Lehto <[email protected]> * Install a newer go manually for codeql Signed-off-by: Kimmo Lehto <[email protected]> --------- Signed-off-by: Kimmo Lehto <[email protected]>
1 parent fbcc620 commit 1889c20

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@ jobs:
4040
- name: Checkout repository
4141
uses: actions/checkout@v4
4242

43+
# Added as suggested in https://github.com/github/codeql-action/issues/1842 to bring in a newer go than exists
44+
# preinstalled on the runners
45+
- name: Set up Go
46+
uses: actions/setup-go@v5
47+
with:
48+
go-version-file: go.mod
49+
check-latest: true
50+
4351
# Initializes the CodeQL tools for scanning.
4452
- name: Initialize CodeQL
4553
uses: github/codeql-action/init@v3

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module github.com/k0sproject/k0sctl
22

33
go 1.21
44

5+
toolchain go1.21.6
6+
57
require (
68
github.com/AlecAivazis/survey/v2 v2.3.7
79
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect

0 commit comments

Comments
 (0)