ci: use go.mod as source of truth for actions/setup-go action (#87574)

* ci: use go.mod as source of truth for actions/setup-go action

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* updating upgrading-go-version.md doc

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
This commit is contained in:
Dave Henderson
2024-05-09 20:30:13 +01:00
committed by GitHub
parent 49cd917b08
commit c6a0175c04
9 changed files with 14 additions and 16 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
name: Set go version
uses: actions/setup-go@v4
with:
go-version: '1.22.3'
go-version-file: go.mod
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL