From 23e8e092ccb4273f6d18695ddf2c51628f5e8892 Mon Sep 17 00:00:00 2001 From: jstoobysmith <72603918+jstoobysmith@users.noreply.github.com> Date: Wed, 26 Jun 2024 09:01:54 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a721b1..d9d6af3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,10 @@ jobs: - name: build cache run: | lake exe cache get - + - name: check file imports + run: | + bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake exe check_file_imports" + - name: build HepLean id: build uses: liskin/gh-problem-matcher-wrap@v3 @@ -37,10 +40,7 @@ jobs: run: | bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake build -KCI | tee stdout.log" - - name: check file imports - run: | - bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake exe check_file_imports" - + - name: lint HepLean if: ${{ always() && steps.build.outcome == 'success' || steps.build.outcome == 'failure' }} id: lint