From 8adcf99a246651e137cdd948b701eb1fd6ddf515 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 20 May 2024 12:29:09 +0200 Subject: [PATCH] Add formatting check in CI --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 43024af..9e957bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,9 @@ jobs: uses: abatilo/actions-poetry@v2 - name: Poetry install run: poetry install - - name: Run unit tests - run: poetry run pytest + - name: Check formatting + run: poetry run ruff format --check - name: Check for lints run: poetry run ruff check + - name: Run unit tests + run: poetry run pytest