Switch to nox (#668) #729
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: Lint | |
on: | |
push: | |
branches-ignore: | |
- "dependabot/**" | |
pull_request: | |
env: | |
FORCE_COLOR: "1" | |
jobs: | |
Lint: | |
name: 'Lint' | |
timeout-minutes: 10 | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Run lint | |
run: | | |
python -m pip install --upgrade nox | |
nox -s lint |