mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-23 18:15:26 +00:00
28 lines
648 B
YAML
28 lines
648 B
YAML
name: Test documentation build
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'docs/**'
|
|
- pyproject.toml
|
|
- poetry.lock
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
- name: Run tests
|
|
run: nix develop --command bash -c "poetry install && poetry run mkdocs build --strict"
|