Update ch03.tex #93
Workflow file for this run
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: Check Build | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'src/*' | |
| - 'img/*' | |
| - 'fonts/*' | |
| - '.github/workflows/check.yml' | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'src/*' | |
| - 'img/*' | |
| - 'fonts/*' | |
| - '.github/workflows/check.yml' | |
| workflow_dispatch: | |
| jobs: | |
| check-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: wtfjoke/setup-tectonic@v2 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: check build | |
| run: | | |
| apt-get update && apt-get install -y libfuse2 | |
| pip install Pygments | |
| cd src | |
| tectonic -Z shell-escape main.tex |