diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml deleted file mode 100644 index 591a9b3..0000000 --- a/.github/workflows/pre-commit.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: pre-commit - -on: [push] - -jobs: - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - with: - fetch-depth: 1 - - uses: actions/setup-python@v5 - with: - python-version: 3.11 - - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml new file mode 100644 index 0000000..14c18dc --- /dev/null +++ b/.github/workflows/static-checks.yml @@ -0,0 +1,24 @@ +name: pre-commit + +on: [push] + +jobs: + pre-commit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + with: + fetch-depth: 1 + - uses: actions/setup-python@v5 + with: + python-version: 3.11 + - uses: pre-commit/action@v3.0.1 + http-lint: + runs-on: ubuntu-latest + steps: + - name: Link Checker + id: lychee + uses: lycheeverse/lychee-action@v2 + with: + args: --base-url doc --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' + fail: false