Skip to content

Commit 82284f1

Browse files
committed
Fix failing workflows
Ensure that pythion 3.11 is used for older CLIs on windows.
1 parent 137a1e0 commit 82284f1

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

Diff for: .github/workflows/debug-artifacts-failure.yml

+12-1
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

Diff for: .github/workflows/debug-artifacts.yml

+12-1
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

0 commit comments

Comments
 (0)