mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-07 19:08:30 +03:00
Ruff format with defaults.
This commit is contained in:
22
.github/workflows/ruff.yaml
vendored
Normal file
22
.github/workflows/ruff.yaml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Ruff Formatting & Linting
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
ruff:
|
||||
name: Run Ruff Checks
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Run Ruff (Lint & Format Check)
|
||||
uses: astral-sh/ruff-action@v1
|
||||
with:
|
||||
args: "check . --output-format=concise"
|
||||
|
||||
- name: Run Ruff Format Check
|
||||
uses: astral-sh/ruff-action@v1
|
||||
with:
|
||||
args: "format --check ."
|
||||
Reference in New Issue
Block a user