switch to lychee for link checking

This commit is contained in:
Ravencentric 2025-07-29 22:17:43 +05:30
parent 6433c1e535
commit bc2548b461
5 changed files with 24 additions and 20 deletions

View file

@ -3,10 +3,13 @@ on:
pull_request: pull_request:
branches: [main] branches: [main]
jobs: jobs:
Awesome_Lint: awesome-Lint:
permissions:
contents: read
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
persist-credentials: false
fetch-depth: 0 fetch-depth: 0
- run: npx awesome-lint - run: npx awesome-lint

View file

@ -1,14 +1,20 @@
name: Check Markdown links name: Link Checker
on: on:
push: pull_request:
schedule:
- cron: "0 0 * * *"
workflow_dispatch: workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs: jobs:
markdown-link-check: link-checker:
permissions:
contents: read
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: gaurav-nelson/github-action-markdown-link-check@v1 with:
persist-credentials: false
- name: Link Checker
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1

View file

@ -7,19 +7,17 @@ on:
jobs: jobs:
publish: publish:
name: Publish to retype branch
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
contents: write contents: write
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-dotnet@v1
with: with:
dotnet-version: 7.0.x persist-credentials: false
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
with:
dotnet-version: 9.0.x
- uses: retypeapp/action-build@latest - uses: retypeapp/action-build@latest

View file

@ -1,3 +0,0 @@
label: Code of Conduct
order: -4
visibility: hidden