add lychee link checker
All checks were successful
checks / check-links (pull_request) Successful in 23s
checks / checks-impure (pull_request) Successful in 2m10s
checks / checks (pull_request) Successful in 2m49s

This commit is contained in:
Jörg Thalheim 2024-02-21 17:18:28 +01:00
parent 67ceba6637
commit 1cb33a5c6c
2 changed files with 13 additions and 15 deletions

View File

@ -1,12 +0,0 @@
name: checks-impure
on:
pull_request:
push:
branches: main
jobs:
test:
if: ${{ github.actor != 'ui-asset-bot' }}
runs-on: nix
steps:
- uses: actions/checkout@v3
- run: nix run .#impure-checks

View File

@ -2,11 +2,21 @@ name: checks
on:
pull_request:
push:
branches: main
branches:
- main
jobs:
test:
if: ${{ github.actor != 'ui-asset-bot' }}
checks:
runs-on: nix
steps:
- uses: actions/checkout@v3
- run: nix run --refresh github:Mic92/nix-fast-build -- --no-nom --eval-workers 20
check-links:
runs-on: nix
steps:
- uses: actions/checkout@v3
- run: nix run --refresh --inputs-from .# nixpkgs#lychee .
checks-impure:
runs-on: nix
steps:
- uses: actions/checkout@v3
- run: nix run .#impure-checks