Skip to content

Commit 83d1db3

Browse files
authored
Merge branch 'main' into henrymercer/reduce-log-duplication
2 parents 102a12b + 2125352 commit 83d1db3

File tree

15 files changed

+129
-11
lines changed

15 files changed

+129
-11
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Test that the workaround for python 3.12 on windows works
2+
3+
on:
4+
push:
5+
branches: [main, releases/v2]
6+
pull_request:
7+
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
8+
# by other workflows.
9+
types: [opened, synchronize, reopened, ready_for_review]
10+
schedule:
11+
# Weekly on Monday.
12+
- cron: '0 0 * * 1'
13+
workflow_dispatch:
14+
15+
jobs:
16+
test-setup-python-scripts:
17+
timeout-minutes: 45
18+
runs-on: windows-latest
19+
20+
steps:
21+
- uses: actions/setup-python@v4
22+
with:
23+
python-version: 3.12
24+
25+
- uses: actions/checkout@v4
26+
27+
- name: Prepare test
28+
uses: ./.github/actions/prepare-test
29+
with:
30+
version: default
31+
32+
- name: Initialize CodeQL
33+
uses: ./../action/init
34+
with:
35+
tools: latest
36+
languages: python
37+
38+
- name: Analyze
39+
uses: ./../action/analyze
40+
with:
41+
upload-database: false

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th
66

77
- Improve the log output when an error occurs in an invocation of the CodeQL CLI. [#1927](https://github.com/github/codeql-action/pull/1927)
88

9+
## 2.22.1 - 09 Oct 2023
10+
11+
- Add a workaround for Python 3.12, which is not supported in CodeQL CLI version 2.14.6 or earlier. If you are running an analysis on Windows and using Python 3.12 or later, the CodeQL Action will switch to running Python 3.11. In this case, if Python 3.11 is not found, then the workflow will fail. [#1928](https://github.com/github/codeql-action/pull/1928)
12+
913
## 2.22.0 - 06 Oct 2023
1014

1115
- The CodeQL Action now requires CodeQL version 2.10.5 or later. For more information, see the corresponding changelog entry for CodeQL Action version 2.21.8. [#1907](https://github.com/github/codeql-action/pull/1907)

lib/analyze-action.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init.js

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)