ci: add a style.yaml workflow with a ruff job running ruff check
All checks were successful
/ ruff (push) Successful in 25s
All checks were successful
/ ruff (push) Successful in 25s
This commit is contained in:
parent
db3e05e6da
commit
22c23ba3d6
14
.forgejo/workflows/style.yaml
Normal file
14
.forgejo/workflows/style.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Links & Resources:
|
||||
# - https://hatch.pypa.io/latest/install/#github-actions
|
||||
# - https://docs.astral.sh/ruff/integrations/#github-actions
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
ruff:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install Hatch
|
||||
uses: https://github.com/pypa/hatch@install
|
||||
- name: Run Ruff
|
||||
run: hatch run lint:ruff check --output-format=github .
|
Loading…
Reference in a new issue