From c35e423f8d3d8644c67f4f507c6339d5b218f474 Mon Sep 17 00:00:00 2001 From: iwaltgen Date: Wed, 7 Feb 2024 14:55:41 +0900 Subject: [PATCH] fix(CI): codeQL go version --- .github/workflows/code-ql.yml | 4 ++++ go.mod | 2 +- go.work | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/code-ql.yml b/.github/workflows/code-ql.yml index b33d172..02e0446 100644 --- a/.github/workflows/code-ql.yml +++ b/.github/workflows/code-ql.yml @@ -19,6 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 + with: + go-version-file: go.mod + - uses: github/codeql-action/init@v3 with: languages: go diff --git a/go.mod b/go.mod index 4bbd176..fd5b305 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/iwaltgen/magex -go 1.22.0 +go 1.22 require ( github.com/Masterminds/semver v1.5.0 diff --git a/go.work b/go.work index 96b89a3..0c18d9a 100644 --- a/go.work +++ b/go.work @@ -1,3 +1,3 @@ -go 1.22.0 +go 1.22 use .