Use an env var for specifying AI donut data path #1351
This file contains hidden or 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
| name: lint | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.12' | |
| - name: Install | |
| run: | | |
| $CONDA/bin/conda install python=3.12 -y | |
| $CONDA/bin/conda install -c lsstts ts-pre-commit-config -y | |
| $CONDA/bin/conda install -c conda-forge pre-commit -y | |
| $CONDA/bin/generate_pre_commit_conf --skip-pre-commit-install | |
| - name: Run pre commit checks | |
| run: $CONDA/bin/pre-commit run --all |