Skip to content

Commit 64981bb

Browse files
authored
Merge branch 'main' into aeisenberg/python-on-mac
2 parents ed686ed + e280207 commit 64981bb

File tree

6 files changed

+38
-13
lines changed

6 files changed

+38
-13
lines changed

.github/actions/setup-swift/action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ runs:
2424
VERSION="5.7.0"
2525
elif [ $VERSION = "5.8" ]; then
2626
VERSION="5.8.0"
27-
# setup-swift does not yet support v5.8.1 Remove this when it does.
28-
elif [ $VERSION = "5.8.1" ]; then
29-
VERSION="5.8.0"
27+
elif [ $VERSION = "5.9" ]; then
28+
VERSION="5.9.0"
29+
# setup-swift does not yet support v5.9.1 Remove this when it does.
30+
elif [ $VERSION = "5.9.1" ]; then
31+
VERSION="5.9.0"
3032
fi
3133
fi
3234
echo "version=$VERSION" | tee -a $GITHUB_OUTPUT

.github/workflows/debug-artifacts-failure.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,17 @@ jobs:
4242
- uses: actions/setup-go@v4
4343
with:
4444
go-version: ^1.13.1
45+
- name: Setup Python on MacOS
46+
uses: actions/setup-python@v4
47+
if: |
48+
matrix.os == 'macos-latest' && (
49+
matrix.version == 'stable-20220908' ||
50+
matrix.version == 'stable-20221211' ||
51+
matrix.version == 'stable-20230418' ||
52+
matrix.version == 'stable-v2.13.5' ||
53+
matrix.version == 'stable-v2.14.6')
54+
with:
55+
python-version: '3.11'
4556
- uses: ./../action/init
4657
with:
4758
tools: ${{ steps.prepare-test.outputs.tools-url }}
@@ -52,7 +63,7 @@ jobs:
5263
shell: bash
5364
run: ./build.sh
5465
- uses: ./../action/analyze
55-
id: analysis
66+
id: analysis
5667
with:
5768
expect-error: true
5869
ram: 1

.github/workflows/debug-artifacts.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ jobs:
4949
- uses: actions/setup-go@v4
5050
with:
5151
go-version: ^1.13.1
52+
- name: Setup Python on MacOS
53+
uses: actions/setup-python@v4
54+
if: |
55+
matrix.os == 'macos-latest' && (
56+
matrix.version == 'stable-20220908' ||
57+
matrix.version == 'stable-20221211' ||
58+
matrix.version == 'stable-20230418' ||
59+
matrix.version == 'stable-v2.13.5' ||
60+
matrix.version == 'stable-v2.14.6')
61+
with:
62+
python-version: '3.11'
5263
- uses: ./../action/init
5364
id: init
5465
with:
@@ -63,7 +74,7 @@ jobs:
6374
shell: bash
6475
run: ./build.sh
6576
- uses: ./../action/analyze
66-
id: analysis
77+
id: analysis
6778
download-and-check-artifacts:
6879
name: Download and check debug artifacts
6980
needs: upload-artifacts

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
55
## [UNRELEASED]
66

77
- 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`.
8+
- Update default CodeQL bundle version to 2.15.2. [#1978](https://github.com/github/codeql-action/pull/1978)
89

910
## 2.22.5 - 27 Oct 2023
1011

lib/defaults.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"bundleVersion": "codeql-bundle-v2.15.1",
3-
"cliVersion": "2.15.1",
4-
"priorBundleVersion": "codeql-bundle-v2.15.0",
5-
"priorCliVersion": "2.15.0"
2+
"bundleVersion": "codeql-bundle-v2.15.2",
3+
"cliVersion": "2.15.2",
4+
"priorBundleVersion": "codeql-bundle-v2.15.1",
5+
"priorCliVersion": "2.15.1"
66
}

src/defaults.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"bundleVersion": "codeql-bundle-v2.15.1",
3-
"cliVersion": "2.15.1",
4-
"priorBundleVersion": "codeql-bundle-v2.15.0",
5-
"priorCliVersion": "2.15.0"
2+
"bundleVersion": "codeql-bundle-v2.15.2",
3+
"cliVersion": "2.15.2",
4+
"priorBundleVersion": "codeql-bundle-v2.15.1",
5+
"priorCliVersion": "2.15.1"
66
}

0 commit comments

Comments
 (0)