From a4ff50566f6d1b3360a2f90c467425278053de34 Mon Sep 17 00:00:00 2001 From: Christoph Kappestein Date: Sun, 10 Nov 2024 12:37:01 +0100 Subject: [PATCH] use ruff github action --- .github/workflows/integration.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index d07c664..a0252d3 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -119,17 +119,7 @@ jobs: run: cd ../../ && docker compose up - name: Move run: mv ../../output/*.py . - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install ruff - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - - name: Lint with ruff - run: | - # stop the build if there are Python syntax errors or undefined names - ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 . - # default set of ruff rules with GitHub Annotations - ruff --format=github --target-version=py37 . + - uses: astral-sh/ruff-action@v1 - name: Run run: python main.py rust: