Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 19 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,25 @@ on:
pull_request: {}

jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v16
with:
name: nix-dev
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Run linkcheck
run: nix-shell --run "make linkcheck"
# The linkchecker runs into rate limits 100% of the time in CI for a very long time
# It requires caching to not hit all endpoints each time.
# Lychee might be an alternative that does that check:
# https://github.com/nix-community/awesome-nix/blob/242818562cc0d2d1464f7ca06880d4902569647b/.github/workflows/check-link.yml#L24
#linkcheck:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - uses: cachix/install-nix-action@v31
# with:
# nix_path: nixpkgs=channel:nixos-unstable
# - uses: cachix/cachix-action@v16
# with:
# name: nix-dev
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# - name: Run linkcheck
# run: nix-shell --run "make linkcheck"
codeblock:
runs-on: ubuntu-latest
steps:
Expand Down