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'
45 runs-on: ubuntu-latest
51 - uses: actions/checkout@v2
55 - name: Set up Python ${{ matrix.python-version }}
56 uses: actions/setup-python@v2
58 python-version: ${{ matrix.python-version }}
60 # Subsumed by make users-guide
61 # - name: Install dependencies
63 # pip install -r doc/requirements.txt
65 - name: Build User's Guide in HTML
67 make SPHINX_HTML_OUTDIR=html users-guide
69 - uses: actions/upload-artifact@v2
71 name: users-guide-html
74 - name: Check security of requirements.txt
76 SKJOLD_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78 make -C doc check-requirements