static analysis #641
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: static analysis | |
on: | |
push: | |
pull_request: | |
# Run every Monday at 6am UTC | |
schedule: | |
- cron: '0 6 * * 1' | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- name: Lint | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: --all-files --show-diff-on-failure |