From 78692d869615490b313a2d26328c766049981dc4 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Sat, 11 Jan 2025 15:41:49 +0100 Subject: [PATCH 1/3] Respect go version in go.mod --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 461b976..eecea42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,3 +12,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: cli/gh-extension-precompile@v2 + with: + go_version_file: go.mod + From cacd5a87d5d578431b54840a0b04cb5a711f6a14 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Sat, 11 Jan 2025 15:56:51 +0100 Subject: [PATCH 2/3] Use an explicit go version in workflows --- .github/workflows/release.yml | 1 - .github/workflows/test.yml | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eecea42..b808b3f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,4 +14,3 @@ jobs: - uses: cli/gh-extension-precompile@v2 with: go_version_file: go.mod - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 629a21e..81dd6f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,6 +25,11 @@ jobs: with: fetch-depth: 0 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + - run: go version + - name: Build run: make build From f25b3a70b687c1d7ae409287ecc5e41efb545344 Mon Sep 17 00:00:00 2001 From: Bassem Dghaidi <568794+Link-@users.noreply.github.com> Date: Sat, 11 Jan 2025 15:59:05 +0100 Subject: [PATCH 3/3] Bump codeql to v3 --- .github/workflows/codeql.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index a13e3f0..278e593 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -29,14 +29,14 @@ jobs: uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: go - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 with: category: "/language:go"