Skip to content

Commit

Permalink
ruff action test
Browse files Browse the repository at this point in the history
  • Loading branch information
yoptohlejepeta committed Nov 3, 2024
1 parent 5de6ad0 commit ee7f5b8
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
# https://docs.astral.sh/ruff/integrations/
name: RUFF
on: push
name: Ruff
on: [ push, pull_request ]
jobs:
build:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Run Ruff
run: ruff check --output-format=github .
- uses: astral-sh/ruff-action@v1
args: check
src: "."

0 comments on commit ee7f5b8

Please sign in to comment.