From 18f9eb6b557c3bbb8bafa6537dd3a33021f6b084 Mon Sep 17 00:00:00 2001 From: Robin Neatherway Date: Wed, 27 Jan 2021 11:31:51 +0000 Subject: [PATCH 1/3] Update default CodeQL to 20210127 --- lib/defaults.json | 2 +- src/defaults.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/defaults.json b/lib/defaults.json index 29b8924a4..aee39c519 100644 --- a/lib/defaults.json +++ b/lib/defaults.json @@ -1,3 +1,3 @@ { - "bundleVersion": "codeql-bundle-20201127" + "bundleVersion": "codeql-bundle-20210127" } diff --git a/src/defaults.json b/src/defaults.json index 700ede6e6..d06a51d96 100644 --- a/src/defaults.json +++ b/src/defaults.json @@ -1,3 +1,3 @@ { - "bundleVersion": "codeql-bundle-20201127" + "bundleVersion": "codeql-bundle-20210127" } From 2c625439017844d80b4d9f0e8957b6542d451648 Mon Sep 17 00:00:00 2001 From: Robin Neatherway Date: Wed, 27 Jan 2021 11:51:55 +0000 Subject: [PATCH 2/3] Temporarily use the latest version for testing --- .github/workflows/codeql.yml | 1 + .github/workflows/pr-checks.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 420c1ce09..950688518 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -20,6 +20,7 @@ jobs: with: languages: javascript config-file: ./.github/codeql/codeql-config.yml + tools: latest # confirm steps.init.outputs.codeql-path points to the codeql binary - name: Print CodeQL Version run: ${{steps.init.outputs.codeql-path}} version --format=json diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index a8b9c3e96..85ff3ca39 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -133,6 +133,7 @@ jobs: with: languages: go config-file: ./.github/codeql/custom-queries.yml + tools: latest - name: Build code shell: bash run: ./build.sh @@ -166,6 +167,7 @@ jobs: - uses: ./../action/init with: languages: go + tools: latest - name: Build code shell: bash run: go build main.go @@ -193,6 +195,7 @@ jobs: - uses: ./../action/init with: languages: go + tools: latest - uses: ./../action/autobuild - uses: ./../action/analyze env: @@ -256,6 +259,7 @@ jobs: - uses: ./../action/init with: languages: javascript + tools: latest - uses: ./../action/analyze env: TEST_MODE: true From 07943dcc5d533133e245e8509bf920e9e21822eb Mon Sep 17 00:00:00 2001 From: Robin Neatherway Date: Wed, 27 Jan 2021 14:50:45 +0000 Subject: [PATCH 3/3] Revert "Temporarily use the latest version for testing" This reverts commit 2c625439017844d80b4d9f0e8957b6542d451648. --- .github/workflows/codeql.yml | 1 - .github/workflows/pr-checks.yml | 4 ---- 2 files changed, 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 950688518..420c1ce09 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -20,7 +20,6 @@ jobs: with: languages: javascript config-file: ./.github/codeql/codeql-config.yml - tools: latest # confirm steps.init.outputs.codeql-path points to the codeql binary - name: Print CodeQL Version run: ${{steps.init.outputs.codeql-path}} version --format=json diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 85ff3ca39..a8b9c3e96 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -133,7 +133,6 @@ jobs: with: languages: go config-file: ./.github/codeql/custom-queries.yml - tools: latest - name: Build code shell: bash run: ./build.sh @@ -167,7 +166,6 @@ jobs: - uses: ./../action/init with: languages: go - tools: latest - name: Build code shell: bash run: go build main.go @@ -195,7 +193,6 @@ jobs: - uses: ./../action/init with: languages: go - tools: latest - uses: ./../action/autobuild - uses: ./../action/analyze env: @@ -259,7 +256,6 @@ jobs: - uses: ./../action/init with: languages: javascript - tools: latest - uses: ./../action/analyze env: TEST_MODE: true