QA: Use ruff instead of black + flake8 for formatting and linting #2
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: Check and Build | |
on: [push, pull_request] | |
jobs: | |
codespell: | |
name: Codespell | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make qa-codespell | |
pytest: | |
name: Python Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make qa-pytest | |
ruff: | |
name: Python Format and Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make qa-ruff | |
build: | |
name: Python Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: make build | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: dist |