mirror of
https://github.com/dariubs/GoBooks.git
synced 2026-04-30 14:03:54 +07:00
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:
@@ -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'
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user