From 07e9c6586102820bd7799369e40cd1c4d7ddd440 Mon Sep 17 00:00:00 2001 From: jstoobysmith <72603918+jstoobysmith@users.noreply.github.com> Date: Wed, 26 Jun 2024 08:49:32 -0400 Subject: [PATCH] add bash -o pipefail --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc876e8..9a721b1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: - name: check file imports run: | - env LEAN_ABORT_ON_PANIC=1 lake exe check_file_imports + 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' }}