Merge pull request #299 from SengokuCola/ruff-action-patch
添加 ruff action 以自动检查代码
This commit is contained in:
8
.github/workflows/main.yml
vendored
Normal file
8
.github/workflows/main.yml
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
name: Ruff
|
||||
on: [ push, pull_request ]
|
||||
jobs:
|
||||
ruff:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: astral-sh/ruff-action@v3
|
||||
Reference in New Issue
Block a user