From ae9952ae3b0dd62448c5e3d146b67c5a412d4282 Mon Sep 17 00:00:00 2001 From: phantinuss <79651203+phantinuss@users.noreply.github.com> Date: Tue, 2 Apr 2024 16:03:28 +0200 Subject: [PATCH] chore: add workflow that checks for broken links --- pre-checks.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pre-checks.yml diff --git a/pre-checks.yml b/pre-checks.yml new file mode 100644 index 0000000..aa798e9 --- /dev/null +++ b/pre-checks.yml @@ -0,0 +1,25 @@ +# This workflow will install Python dependencies, run tests and lint with a single version of Python +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions + +name: Manual Pre Checks + +on: + push: + branches: + - "*" + pull_request: + branches: + - main + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +jobs: + linkcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: link-check + run: | + pip install -r requirements.txt + make linkcheck +