awesome-crypto-papers/.github/workflows/links-fail-fast.yml
Nazar Serhiichuk 2a79c8842d
Fix action schedule, increase timeout and pin version (#23)
* Fix actions so they run only once on Sunday

* Increase timeout to prevent false positives

Set timeout to 60 seconds, instead of default 20.

* Pin lychee version

It is recommended by the lychee-action authors:
https://github.com/lycheeverse/lychee-action#security-and-updates
2022-10-02 15:22:18 +03:00

20 lines
399 B
YAML

name: Links (Fail Fast)
on:
push:
pull_request:
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Link Checker
uses: lycheeverse/lychee-action@v1.5.1
with:
args: --verbose --no-progress './**/*.md' './**/*.html' --timeout 60
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}