Skip to content

Rename main.yml to ruff_commit.yml #1

Rename main.yml to ruff_commit.yml

Rename main.yml to ruff_commit.yml #1

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: stefabzweifel/git-auto-commit-action@v4
with:
commit_message: 'style fixes by ruff'