From 1551192e9eae7236856a1d7dab15bbd69bfb2898 Mon Sep 17 00:00:00 2001 From: Roxana Meixner <146721250+larox11@users.noreply.github.com> Date: Tue, 12 Dec 2023 13:05:37 +0100 Subject: [PATCH 1/2] Update codeql.yml: setup go before running CodeQL --- .github/workflows/codeql.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 91fdfeb..f806611 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -26,6 +26,10 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version-file: './go.mod' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL From 72ea5db99c4f7084b4129d48aa70c9774df289bc Mon Sep 17 00:00:00 2001 From: Roxana Meixner <146721250+larox11@users.noreply.github.com> Date: Tue, 12 Dec 2023 13:13:23 +0100 Subject: [PATCH 2/2] Update codeql.yml: use latest setup-go version --- .github/workflows/codeql.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f806611..5cbb323 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,7 +27,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: './go.mod'