1 # Adapted from agda/agda/.github/workflows/user-manual.yml by Andreas, 2021-09-11
5 # See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
7 group: ${{ github.ref }}-${{ github.workflow }}
8 cancel-in-progress: true
16 - 'doc/pyproject.toml'
17 - 'doc/requirements.in'
18 - 'doc/requirements.txt'
23 - '.github/workflows/users-guide.yml'
27 - 'doc/pyproject.toml'
28 - 'doc/requirements.in'
29 - 'doc/requirements.txt'
34 - '.github/workflows/users-guide.yml'
46 runs-on: ubuntu-latest
49 python-version: ['3.10']
52 - uses: actions/checkout@v3
56 - name: Set up Python ${{ matrix.python-version }}
57 uses: actions/setup-python@v4
59 python-version: ${{ matrix.python-version }}
61 # Subsumed by make users-guide
62 # - name: Install dependencies
64 # pip install -r doc/requirements.txt
66 - name: Build User's Guide in HTML
68 make SPHINX_HTML_OUTDIR=html users-guide
70 - uses: actions/upload-artifact@v3
72 name: users-guide-html
75 - name: Check security of requirements.txt
77 SKJOLD_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79 make -C doc check-requirements