Testing: Upgrade GitHub Actions #248
Workflow file for this run
This file contains 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: "CodeQL" | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.rst' | |
schedule: | |
- cron: "3 2 * * 2" | |
jobs: | |
analyze: | |
timeout-minutes: 20 | |
name: Analyze | |
runs-on: ubuntu-20.04 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies to help the code scanner | |
run: pip install .[dev] | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: python | |
config-file: ./.github/codeql/codeql-config.yml | |
queries: +security-and-quality | |
# Manually install deps, as CodeQL tries to install the empty requirements.txt | |
setup-python-dependencies: false | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 |