Skip to content

Update ruff_commit.yml #2

Update ruff_commit.yml

Update ruff_commit.yml #2

Workflow file for this run

name: Ruff and commit
on: push
jobs:
lint:
runs-on: ubuntu_latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- run: pip install ruff
- run: |
ruff check src/

Check failure on line 12 in .github/workflows/ruff_commit.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ruff_commit.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
ruff fix src/
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'style fixes by ruff'