Skip to content

Commit

Permalink
Create ruff_commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arjbingly authored Mar 19, 2024
1 parent d116ea2 commit 2d7c879
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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/
ruff fix src/
- uses: stefabzweifel/git-auto-commit-action@v4
with:
commit_message: 'style fixes by ruff'

0 comments on commit 2d7c879

Please sign in to comment.