From 4dbefcbab61e2a72c7e8e191472ab45e802dacd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bertrand=20N=C3=A9ron?= Date: Fri, 2 Aug 2024 15:34:32 +0200 Subject: [PATCH 1/2] fix the github action for ruff --- .github/workflows/ruff.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 5ea1e5db..8562aadf 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -7,6 +7,5 @@ jobs: - uses: actions/checkout@v4 - uses: chartboost/ruff-action@v1 with: - args: check src: "./macsypy ./tests" changed-files: 'true' From 6f745bdf932bf68d59b54d44400f6308808f2507 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bertrand=20N=C3=A9ron?= Date: Fri, 2 Aug 2024 15:40:44 +0200 Subject: [PATCH 2/2] fix gihub worklows ruff instead as mention in doc https://github.com/ChartBoost/ruff-action the changed-files argument of with does not work Warning: Unexpected input(s) 'changed-files', valid inputs are ['args', 'src', 'version'] in doc - uses: chartboost/ruff-action@v1 with: changed-files: 'true' --- .github/workflows/ruff.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 8562aadf..1db53f26 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -8,4 +8,3 @@ jobs: - uses: chartboost/ruff-action@v1 with: src: "./macsypy ./tests" - changed-files: 'true'