Skip to content

Commit

Permalink
ruff should now work properly using pip
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri van Warmerdam <[email protected]>
  • Loading branch information
YuriVanWarmerdam committed Sep 13, 2024
1 parent 735f647 commit 68b5117
Showing 1 changed file with 8 additions and 26 deletions.
34 changes: 8 additions & 26 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,6 @@ on:

jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: main
- uses: actions/checkout@v4
with:
repository: "alliander-opensource/rcdt_public"
path: "rcdt_public"
ref: "main"
- uses: alliander-opensource/ruff-action@v1
with:
args: format --check main
- uses: alliander-opensource/ruff-action@v1
with:
args: check --config rcdt_public/pyproject.toml main

reuse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4

ruffmore:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -51,4 +26,11 @@ jobs:
- uses: actions/setup-python@v2
- run: pip install ruff
- run: ruff check main
- run: ruff check --config rcdt_public/pyproject.toml main
- run: ruff check --config rcdt_public/pyproject.toml main

reuse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@v4

0 comments on commit 68b5117

Please sign in to comment.