Skip to content

Commit

Permalink
add link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
sger committed Mar 23, 2024
1 parent b3cb1ca commit e188fc5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 25 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/awesome_lint.sh

This file was deleted.

20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Links

on:
push:
branches: main
pull_request:
branches: [main]
paths:
- 'readme.md'
branches: main

jobs:
lint:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Link Checker
uses: lycheeverse/lychee-action@v1
with:
fetch-depth: 0
- name: awesome-lint
run: ./.github/workflows/lint.sh
fail: true
args: --accept 401,403 './**/*.md'

0 comments on commit e188fc5

Please sign in to comment.