🧰⚙️🩹 Pin ruff version in tox config to the same version as in pre-commit #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: Lint | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: "Run linters on code base" | |
steps: | |
- name: Setup Python for linting | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
- name: Install tox | |
run: python -m pip install tox tox-gh-actions | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Lint code base | |
run: tox -e style |