Files
gef/.github/workflows/validate.yml
T
crazy hugsy 6102a1e282 [Docs] Move imgur images to local docs folder (#1210)
## Description

Imgur is blocked in UK since September 2025 (see #1200)
Move imgur hosted images to local folder instead.

Fixes #1200
2026-02-03 18:31:55 -08:00

48 lines
1.2 KiB
YAML

name: Validation
on:
pull_request:
branches:
- main
jobs:
pre_commit:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: "3.10"
- uses: pre-commit/[email protected]
docs_link_check:
name: Check URLs in docs
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: checkout
uses: actions/[email protected]
- name: Restore lychee cache
id: restore-cache
uses: actions/cache/restore@v4
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: Check links
uses: lycheeverse/[email protected]
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
args: --exclude-mail --accept=401 --no-progress --exclude 'https://cs.github.com/hugsy/gef\?q=.*' '**/*.md'
fail: false
workingDirectory: docs/
- name: Save lychee cache
uses: actions/cache/save@v4
if: always()
with:
path: .lycheecache
key: ${{ steps.restore-cache.outputs.cache-primary-key }}