From 2493eef5f4248fcf775cd2f3cc351b3130cbcbbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 21 Feb 2024 17:18:28 +0100 Subject: [PATCH] add lychee link checker --- .gitea/workflows/checks-impure.yaml | 12 ------------ .gitea/workflows/checks.yaml | 16 +++++++++++++--- 2 files changed, 13 insertions(+), 15 deletions(-) delete mode 100644 .gitea/workflows/checks-impure.yaml diff --git a/.gitea/workflows/checks-impure.yaml b/.gitea/workflows/checks-impure.yaml deleted file mode 100644 index 68ded827f..000000000 --- a/.gitea/workflows/checks-impure.yaml +++ /dev/null @@ -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 diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index 54605e67e..7804a1659 100644 --- a/.gitea/workflows/checks.yaml +++ b/.gitea/workflows/checks.yaml @@ -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