- Notifications
You must be signed in to change notification settings - Fork282
Usepyproject.toml with hatchling instead of setuptools#1604
Workflow file for this run
This file contains hidden or 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:Test and lint | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents:read | |
| jobs: | |
| linting: | |
| name:Lint | |
| runs-on:ubuntu-latest | |
| steps: | |
| -uses:actions/checkout@v6 | |
| -name:Set up Python 3 | |
| uses:actions/setup-python@v6 | |
| with: | |
| python-version:3 | |
| cache:"pip" | |
| cache-dependency-path:"test-requirements.txt" | |
| -name:Install dependencies | |
| run:| | |
| pip install --upgrade pip | |
| pip install -r test-requirements.txt | |
| -name:Lint implementation | |
| run:flake8 |