Fix docs #9
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
name: check file import | |
jobs: | |
check_file_import: | |
name: check file import | |
runs-on: ubuntu-latest | |
steps: | |
- name: clean up | |
run: | | |
find . -name . -o -prune -exec rm -rf -- {} + | |
- uses: actions/checkout@v4 | |
- name: update HepLean.lean | |
run: | | |
git ls-files 'HepLean/*.lean' | LC_ALL=C sort | sed 's/\.lean//;s,/,.,g;s/^/import /' > HepLean.lean | |
- name: check that all files are imported | |
run: git diff --exit-code |