mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2025-12-16 05:20:06 +01:00
This is going to create lots of noise, especially in forks... how about let's not spam this action every day.
30 lines
709 B
YAML
30 lines
709 B
YAML
name: 🌐 Check URLs
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
check-urls:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
|
|
- uses: actions/checkout@v5
|
|
|
|
- name: Restore lychee cache
|
|
uses: actions/cache@v4
|
|
with:
|
|
path: .lycheecache
|
|
key: cache-lychee-${{ github.sha }}
|
|
restore-keys: cache-lychee-
|
|
|
|
- name: Run lychee
|
|
uses: lycheeverse/lychee-action@v2
|
|
with:
|
|
args: >
|
|
--base .
|
|
--no-progress
|
|
--cache
|
|
--max-cache-age 1d
|
|
"**/*.md" "**/*.gd" "**/*.cs" "**/*.tscn" "**/*.tres" "**/*.html"
|
|
|
|
- name: Fail if there were link errors
|
|
run: exit ${{ steps.lc.outputs.exit_code }}
|