Use a better setup for link checker (#47)

This commit is contained in:
Patrick Stevens
2022-12-27 21:47:19 +00:00
committed by GitHub
parent e834694466
commit 1bd7e2971d

View File

@@ -64,7 +64,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v17
- name: Run Alejandra
@@ -75,6 +74,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Install Nix
uses: cachix/install-nix-action@v17
- name: Run ShellCheck
@@ -85,8 +85,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
name: Run link checker
- name: Install Nix
uses: cachix/install-nix-action@v17
- name: Run link checker
run: nix shell 'nixpkgs#nodePackages.markdown-link-check' --command markdown-link-check README.md
all-required-checks-complete:
needs: [check-dotnet-format, check-nix-format, build, shellcheck, linkcheck, run-app]