Update build.yml

This commit is contained in:
jstoobysmith 2024-06-26 09:01:54 -04:00
parent e389134122
commit 23e8e092cc

View file

@ -28,6 +28,9 @@ 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
@ -37,9 +40,6 @@ 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' }}