Repository navigation
Add xcrun-based fallback for Xcode version detection
#7254
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test that the workaround for python 3.12 on windows works | |
| on: | |
| push: | |
| branches: [main, releases/v*] | |
| pull_request: | |
| merge_group: | |
| types: [checks_requested] | |
| schedule: | |
| # Weekly on Monday. | |
| - cron: '0 0 * * 1' | |
| workflow_dispatch: | |
| concurrency: | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' || false }} | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| test-setup-python-scripts: | |
| if: github.triggering_actor != 'dependabot[bot]' | |
| env: | |
| CODEQL_ACTION_TEST_MODE: true | |
| timeout-minutes: 45 | |
| permissions: | |
| contents: read | |
| # We currently need `security-events: read` to access feature flags. | |
| security-events: read | |
| runs-on: windows-2025 | |
| steps: | |
| - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | |
| with: | |
| python-version: 3.12 | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Prepare test | |
| uses: ./.github/actions/prepare-test | |
| with: | |
| version: default | |
| - name: Initialize CodeQL | |
| uses: ./../action/init | |
| with: | |
| tools: linked | |
| languages: python | |
| - name: Analyze | |
| uses: ./../action/analyze |