diff --git a/.github/actions/setup-swift/action.yml b/.github/actions/setup-swift/action.yml index 74355b1586..c35f798209 100644 --- a/.github/actions/setup-swift/action.yml +++ b/.github/actions/setup-swift/action.yml @@ -24,9 +24,11 @@ runs: VERSION="5.7.0" elif [ $VERSION = "5.8" ]; then VERSION="5.8.0" - # setup-swift does not yet support v5.8.1 Remove this when it does. - elif [ $VERSION = "5.8.1" ]; then - VERSION="5.8.0" + elif [ $VERSION = "5.9" ]; then + VERSION="5.9.0" + # setup-swift does not yet support v5.9.1 Remove this when it does. + elif [ $VERSION = "5.9.1" ]; then + VERSION="5.9.0" fi fi echo "version=$VERSION" | tee -a $GITHUB_OUTPUT diff --git a/.github/workflows/debug-artifacts-failure.yml b/.github/workflows/debug-artifacts-failure.yml index 41cc5e3546..c15d92c00f 100644 --- a/.github/workflows/debug-artifacts-failure.yml +++ b/.github/workflows/debug-artifacts-failure.yml @@ -42,6 +42,17 @@ jobs: - uses: actions/setup-go@v4 with: go-version: ^1.13.1 + - name: Setup Python on MacOS + uses: actions/setup-python@v4 + if: | + matrix.os == 'macos-latest' && ( + matrix.version == 'stable-20220908' || + matrix.version == 'stable-20221211' || + matrix.version == 'stable-20230418' || + matrix.version == 'stable-v2.13.5' || + matrix.version == 'stable-v2.14.6') + with: + python-version: '3.11' - uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }} @@ -52,7 +63,7 @@ jobs: shell: bash run: ./build.sh - uses: ./../action/analyze - id: analysis + id: analysis with: expect-error: true ram: 1 diff --git a/.github/workflows/debug-artifacts.yml b/.github/workflows/debug-artifacts.yml index 7bee247397..5ce95784c1 100644 --- a/.github/workflows/debug-artifacts.yml +++ b/.github/workflows/debug-artifacts.yml @@ -49,6 +49,17 @@ jobs: - uses: actions/setup-go@v4 with: go-version: ^1.13.1 + - name: Setup Python on MacOS + uses: actions/setup-python@v4 + if: | + matrix.os == 'macos-latest' && ( + matrix.version == 'stable-20220908' || + matrix.version == 'stable-20221211' || + matrix.version == 'stable-20230418' || + matrix.version == 'stable-v2.13.5' || + matrix.version == 'stable-v2.14.6') + with: + python-version: '3.11' - uses: ./../action/init id: init with: @@ -63,7 +74,7 @@ jobs: shell: bash run: ./build.sh - uses: ./../action/analyze - id: analysis + id: analysis download-and-check-artifacts: name: Download and check debug artifacts needs: upload-artifacts diff --git a/CHANGELOG.md b/CHANGELOG.md index a30b121f69..eee22dff77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th ## [UNRELEASED] - Customers running Python analysis on macOS using version 2.14.6 or earlier of the CodeQL CLI should upgrade to CodeQL CLI version 2.15.0 or later. If you do not wish to upgrade the CodeQL CLI, ensure that you are using Python version 3.11 or earlier, as CodeQL version 2.14.6 and earlier do not support Python 3.12. You can achieve this by adding a [`setup-python`](https://github.com/actions/setup-python) step to your code scanning workflow before the step that invokes `github/codeql-action/init`. +- Update default CodeQL bundle version to 2.15.2. [#1978](https://github.com/github/codeql-action/pull/1978) ## 2.22.5 - 27 Oct 2023 diff --git a/lib/defaults.json b/lib/defaults.json index 977a88f963..0314f5c13c 100644 --- a/lib/defaults.json +++ b/lib/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.15.1", - "cliVersion": "2.15.1", - "priorBundleVersion": "codeql-bundle-v2.15.0", - "priorCliVersion": "2.15.0" + "bundleVersion": "codeql-bundle-v2.15.2", + "cliVersion": "2.15.2", + "priorBundleVersion": "codeql-bundle-v2.15.1", + "priorCliVersion": "2.15.1" } diff --git a/src/defaults.json b/src/defaults.json index 52ce5f7957..5ccbf00d85 100644 --- a/src/defaults.json +++ b/src/defaults.json @@ -1,6 +1,6 @@ { - "bundleVersion": "codeql-bundle-v2.15.1", - "cliVersion": "2.15.1", - "priorBundleVersion": "codeql-bundle-v2.15.0", - "priorCliVersion": "2.15.0" + "bundleVersion": "codeql-bundle-v2.15.2", + "cliVersion": "2.15.2", + "priorBundleVersion": "codeql-bundle-v2.15.1", + "priorCliVersion": "2.15.1" }