1
0
mirror of https://github.com/juanfont/headscale.git synced 2025-01-08 00:11:42 +01:00
juanfont.headscale/.github/workflows/docs-test.yml

28 lines
641 B
YAML
Raw Normal View History

name: Test documentation build
2024-05-31 23:39:07 +02:00
on:
pull_request:
paths:
- 'docs/**'
- pyproject.toml
- poetry.lock
concurrency:
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
cancel-in-progress: true
2024-05-31 23:39:07 +02:00
permissions:
id-token: write
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
2024-05-31 23:39:07 +02:00
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Run tests
2024-06-01 00:19:54 +02:00
run: nix develop --command -- poetry install && poetry run mkdocs build --strict