mirror of
https://github.com/github/codeql-action.git
synced 2025-12-27 01:30:10 +08:00
The analysis is purposefully failing. We don't want a failed analysis sitting in the security center since this can cause some internal checks to erroneously fail.
43 lines
950 B
YAML
43 lines
950 B
YAML
name: Test that the workaround for python 3.12 on windows works
|
|
|
|
on:
|
|
push:
|
|
branches: [main, releases/v2]
|
|
pull_request:
|
|
# Run checks on reopened draft PRs to support triggering PR checks on draft PRs that were opened
|
|
# by other workflows.
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
schedule:
|
|
# Weekly on Monday.
|
|
- cron: '0 0 * * 1'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test-setup-python-scripts:
|
|
timeout-minutes: 45
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 3.12
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Prepare test
|
|
uses: ./.github/actions/prepare-test
|
|
with:
|
|
version: default
|
|
|
|
- name: Initialize CodeQL
|
|
uses: ./../action/init
|
|
with:
|
|
tools: latest
|
|
languages: python
|
|
|
|
- name: Analyze
|
|
uses: ./../action/analyze
|
|
with:
|
|
upload: false
|
|
upload-database: false
|