ci: fix yaml syntax for check-docs workflow

This commit is contained in:
raf 2024-11-26 10:52:11 +03:00
parent c2de643f19
commit 63800378c9
Signed by: NotAShelf
GPG key ID: AF26552424E53993

View file

@ -23,8 +23,8 @@ jobs:
uses: DeterminateSystems/nix-installer-action@main uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/checkout@v4 - name: Checkout
name: Checkout uses: actions/checkout@v4
- name: Set default git branch (to reduce log spam) - name: Set default git branch (to reduce log spam)
run: git config --global init.defaultBranch main run: git config --global init.defaultBranch main
@ -42,8 +42,7 @@ jobs:
with: with:
name: "${{ matrix.package }}" name: "${{ matrix.package }}"
path: result/share/doc/nvf path: result/share/doc/nvf
flake-docs-linkcheck:
flake-docs-linkcheck:
name: Validate hyperlinks in documentation sources name: Validate hyperlinks in documentation sources
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@ -51,8 +50,8 @@ flake-docs-linkcheck:
uses: DeterminateSystems/nix-installer-action@main uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/magic-nix-cache-action@main
- uses: actions/checkout@v4 - name: Checkout
name: Checkout uses: actions/checkout@v4
- name: Build documentation packages - name: Build documentation packages
run: nix build .#docs-linkcheck -Lv run: nix build .#docs-linkcheck -Lv