From 5bae749dfc3588c0d70f26dd2ebe4615728155d0 Mon Sep 17 00:00:00 2001 From: Freddy Heppell Date: Thu, 13 Jun 2024 23:58:34 +0200 Subject: [PATCH] Different method for allowing failure --- .github/workflows/lint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a1ac455d..434bbea4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,8 +13,6 @@ on: jobs: lint: runs-on: ubuntu-latest - # Set this at job level so it's marked as failed if any of the steps fail - continue-on-error: true steps: - uses: actions/checkout@v4 - name: Set up Python 3.12 @@ -30,4 +28,6 @@ jobs: - name: Ruff Format Check run: ruff format --check . - name: Ruff Lint Check - run: ruff check --output-format=github . \ No newline at end of file + run: ruff check --output-format=github . + # Still run if format check fails + if: always() \ No newline at end of file