Skip to content

Commit

Permalink
chore: update ruff workflow to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-pl committed Feb 1, 2025
1 parent 4501d5f commit 2ac1e29
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/ruff-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,24 @@ name: Run ruff linter
on: [push, pull_request]

jobs:
ruff:
uses: acdh-oeaw/prosnet-workflows/.github/workflows/[email protected]
with:
src: "."
python-version: "3.12"
docs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.5.26"

- name: Install dependencies
run: uv sync --dev

- name: Run ruff
run: uv run ruff check .

0 comments on commit 2ac1e29

Please sign in to comment.