diff options
| author | Kent Daleng <lolexplode@gmail.com> | 2025-03-16 18:15:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-16 20:15:37 +0300 |
| commit | 5e549e13238a853f8860e29621ab6b31ee1b9ee4 (patch) | |
| tree | 37da9e25448359e30a2005fe51b4f75cc447d618 /.github | |
| parent | 287480b541e85b13ff6419d372f82fa8e42c603c (diff) | |
| download | niri-5e549e13238a853f8860e29621ab6b31ee1b9ee4.tar.gz niri-5e549e13238a853f8860e29621ab6b31ee1b9ee4.tar.bz2 niri-5e549e13238a853f8860e29621ab6b31ee1b9ee4.zip | |
ci/wiki: check that (local) links are well formed (#1282)
* add check-links step, fix some links
* don't depend on build right now
* fix fragment
* reintroduce dependency for build
* don't only check links on push to main
* maybe this is a more sensible dependency tree for this stuff
* change commented suggestions, try v2.0.2 for action
* describe why we're on v2.0.2
* revert to %E2%80%90 (works with lychee anyway)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a61e2e2e..bdf78d78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -228,9 +228,21 @@ jobs: - run: nix flake check continue-on-error: true + check-links: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + with: + show-progress: false + - uses: lycheeverse/lychee-action@v2.0.2 # later versions break fragment checks. don't bump until this is fixed: https://github.com/lycheeverse/lychee/issues/1574 + with: + args: --offline --include-fragments 'wiki/*.md' + publish-wiki: if: github.event_name == 'push' && github.ref == 'refs/heads/main' - needs: build + needs: + - build + - check-links permissions: contents: write runs-on: ubuntu-24.04 |
