Switch Link Checker to Lychee (#137)

* Switch Link Checker to Lychee

It’s fast and can handle more links

* Udemy reports 403

https://github.com/lycheeverse/lychee/issues/1157

* trigger
This commit is contained in:
Nathan Youngman
2023-09-02 17:59:10 -06:00
committed by GitHub
parent 1c71e7329e
commit 9457b93969
4 changed files with 109 additions and 118 deletions
+15
View File
@@ -0,0 +1,15 @@
name: Links
on:
- pull_request
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Link Checker
uses: lycheeverse/lychee-action@v1
with:
fail: true
args: --accept 403 './**/*.md'
-18
View File
@@ -1,18 +0,0 @@
name: AwesomeBot
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.3
- run: gem install awesome_bot
- run: awesome_bot README.md --allow-dupe --allow-redirect