mirror of
https://github.com/Smaug123/AdventOfCode2022
synced 2025-10-10 20:18:41 +00:00
Use a better setup for link checker (#47)
This commit is contained in:
8
.github/workflows/dotnet.yaml
vendored
8
.github/workflows/dotnet.yaml
vendored
@@ -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]
|
||||
|
Reference in New Issue
Block a user