PhysLean/.github/workflows/check_file_import.yml
Workflow config file is invalid. Please check your config file: yaml: line 7: did not find expected key
2024-04-17 06:23:48 -04:00

22 lines
No EOL
502 B
YAML

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