Bump the non-major-versions group with 7 updates #216
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: | |
pull_request: | |
permissions: | |
contents: write | |
jobs: | |
ruff: | |
name: "Ruff" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout the repository" | |
uses: "actions/[email protected]" | |
- name: "Set up Python" | |
uses: actions/[email protected] | |
with: | |
python-version: "3.12.4" | |
- name: "Install requirements" | |
run: | | |
python -m pip install --upgrade pip | |
pip install ruff | |
- name: "Format" | |
run: ruff format . | |
- name: "Check" | |
run: ruff check --output-format=github . --fix --exit-zero | |
- name: "Auto Commit" | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: 'style fixes by ruff' |