From 6d814d83f12468190e8f4e233fdd0f91b4d8737b Mon Sep 17 00:00:00 2001 From: Ahmed Ilyas Date: Tue, 14 Nov 2023 15:24:14 +0100 Subject: [PATCH] chore: use a separate action for ruff linting --- .github/workflows/python-actions.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-actions.yaml b/.github/workflows/python-actions.yaml index fddd7ef9..e0969fa3 100644 --- a/.github/workflows/python-actions.yaml +++ b/.github/workflows/python-actions.yaml @@ -24,9 +24,6 @@ jobs: pip install .[dev] pip install ./nomad[parsing,infrastructure] pip install types-PyYAML - - name: ruff - run: | - python -m ruff check . - name: mypy run: | python -m mypy --ignore-missing-imports --follow-imports=silent --no-strict-optional *parsers tests @@ -34,3 +31,9 @@ jobs: if: success() || failure() run: | python -m pytest -sv tests + + ruff: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: chartboost/ruff-action@v1 \ No newline at end of file