added nox -e clean #177
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
# Lint tests run on PR | |
# but should not run after push to main because reporting | |
# these after push is meaningless to the building of the package | |
name: Lint | |
on: | |
pull_request: | |
branches: [main] | |
schedule: | |
- cron: '0 8 * * 1' # run every Monday at 8am UTC | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: install dependencies | |
run: pip install nox | |
- name: test lint | |
run: nox -e lint |