From 68b51170a84c71bf19c548716cd5fc8da2c8c2d5 Mon Sep 17 00:00:00 2001 From: Yuri van Warmerdam Date: Fri, 13 Sep 2024 15:06:29 +0200 Subject: [PATCH] ruff should now work properly using pip Signed-off-by: Yuri van Warmerdam --- .github/workflows/actions.yml | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 2ff9376..d1f0605 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -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 @@ -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 \ No newline at end of file + - 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