From 63800378c9ca0dfc9873cb425a5dc83e48be3a5c Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 26 Nov 2024 10:52:11 +0300 Subject: [PATCH] ci: fix yaml syntax for check-docs workflow --- .github/workflows/check-docs.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index 43a9731..b543c81 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -23,8 +23,8 @@ jobs: uses: DeterminateSystems/nix-installer-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) run: git config --global init.defaultBranch main @@ -42,17 +42,16 @@ jobs: with: name: "${{ matrix.package }}" path: result/share/doc/nvf + flake-docs-linkcheck: + name: Validate hyperlinks in documentation sources + runs-on: ubuntu-latest + steps: + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main -flake-docs-linkcheck: - name: Validate hyperlinks in documentation sources - runs-on: ubuntu-latest - steps: - - name: Install Nix - uses: DeterminateSystems/nix-installer-action@main - - uses: DeterminateSystems/magic-nix-cache-action@main + - name: Checkout + uses: actions/checkout@v4 - - uses: actions/checkout@v4 - name: Checkout - - - name: Build documentation packages - run: nix build .#docs-linkcheck -Lv + - name: Build documentation packages + run: nix build .#docs-linkcheck -Lv