chore(python): update unittest workflow template #927
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
on: | |
pull_request: | |
branches: | |
- main | |
name: lint | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.8" | |
- name: Install nox | |
run: | | |
python -m pip install --upgrade setuptools pip wheel | |
python -m pip install nox | |
- name: Run lint | |
run: | | |
nox -s lint | |
- name: Run lint_setup_py | |
run: | | |
nox -s lint_setup_py |