chore: Add lean version of check_file_import
This commit is contained in:
parent
58c5540700
commit
5ab53ca314
5 changed files with 109 additions and 10 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue