mirror of
https://github.com/juanfont/headscale.git
synced 2025-07-29 21:33:44 +00:00
28 lines
808 B
YAML
28 lines
808 B
YAML
name: Test documentation build
|
|
|
|
on: [pull_request]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- name: Install python
|
|
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
|
with:
|
|
python-version: 3.x
|
|
- name: Setup cache
|
|
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
|
with:
|
|
key: ${{ github.ref }}
|
|
path: .cache
|
|
- name: Setup dependencies
|
|
run: pip install -r docs/requirements.txt
|
|
- name: Build docs
|
|
run: mkdocs build --strict
|