chore: Add lean version of check_file_import

This commit is contained in:
jstoobysmith 2024-06-26 08:33:54 -04:00
parent 58c5540700
commit 5ab53ca314
5 changed files with 109 additions and 10 deletions

View file

@ -24,12 +24,7 @@ jobs:
run: |
lean --version
lake --version
- name: check ls
run: |
ls -a
- name: build cache
run: |
lake exe cache get
@ -41,7 +36,14 @@ jobs:
linters: gcc
run: |
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake build -KCI | tee stdout.log"
- name: check file imports
id : check_file_imports
uses: liskin/gh-problem-matcher-wrap@v3
with :
linters : gcc
run : 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