From 8948a7ccbba0105550557474a387184d6364705d Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 1 Nov 2023 15:50:28 -0700 Subject: [PATCH] Force python 3.11 for macos 3.12 does not work. --- .github/workflows/__remote-config.yml | 4 ++++ pr-checks/checks/remote-config.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/__remote-config.yml b/.github/workflows/__remote-config.yml index e4869036a7..74185f53a4 100644 --- a/.github/workflows/__remote-config.yml +++ b/.github/workflows/__remote-config.yml @@ -96,6 +96,10 @@ jobs: ) shell: bash run: echo "CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT=true" >> $GITHUB_ENV + - uses: actions/setup-python@v2 + if: matrix.os == 'macos-latest' + with: + python-version: 3.11 - uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }} diff --git a/pr-checks/checks/remote-config.yml b/pr-checks/checks/remote-config.yml index 918c1cd0da..90e238d347 100644 --- a/pr-checks/checks/remote-config.yml +++ b/pr-checks/checks/remote-config.yml @@ -1,6 +1,10 @@ name: "Remote config file" description: "Checks that specifying packages using only a config file works" steps: + - uses: actions/setup-python@v2 + if: matrix.os == 'macos-latest' + with: + python-version: 3.11 - uses: ./../action/init with: tools: ${{ steps.prepare-test.outputs.tools-url }}