Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# For workflow_run, checkout the head branch from the triggering workflow
ref: ${{ github.event.workflow_run.head_branch || github.ref }}
Expand Down Expand Up @@ -90,12 +90,12 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.workflow_run.head_branch || github.ref }}
submodules: ${{ inputs.submodules || 'false' }}
- name: Restore lychee cache
uses: actions/cache@v4
uses: actions/cache@v5.0.1
with:
key: cache-lychee-${{ github.sha }}
path: .lycheecache
Expand All @@ -104,17 +104,16 @@ jobs:
- name: Link Checker
uses: lycheeverse/lychee-action@v2
with:
args: --cache --max-cache-age 1d --verbose --no-progress './**/*.md' '.github/**/*.md'
args: --cache --max-cache-age 1d --verbose --no-progress './**/*.md'
fail: true
failIfEmpty: false
pre-commit:
name: Pre-commit
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
ref: ${{ github.event.workflow_run.head_branch || github.ref }}
submodules: ${{ inputs.submodules || 'false' }}
Expand All @@ -128,13 +127,13 @@ jobs:
sparse-checkout: |
.github/pre-commit-matcher.json
sparse-checkout-cone-mode: false
- uses: actions/cache@v4
- uses: actions/cache@v5.0.1
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ hashFiles('.pre-commit-config.yaml') }}
restore-keys: |
pre-commit|
- uses: actions/setup-python@v5
- uses: actions/setup-python@v6.1.0
with:
python-version: '3.12'
- name: Add Problem Matcher for pre-commit
Expand Down
Loading