Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/cache dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
# Whenever an open PR is updated, the workflow will be triggered
|
|
|
|
name: Language Linting
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
typos:
|
|
if: github.event.pull_request.draft == false
|
|
name: Check for typos
|
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Check for typos
|
|
uses: crate-ci/typos@master
|
|
|
|
# Check for invalid links in the repository
|
|
link-check:
|
|
if: github.event.pull_request.draft == false
|
|
name: Check For Invalid Links
|
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- name: Restore lychee cache
|
|
uses: actions/cache@v5
|
|
with:
|
|
path: .lycheecache
|
|
key: cache-lychee-${{ github.sha }}
|
|
restore-keys: cache-lychee-
|
|
- name: Run lychee
|
|
uses: lycheeverse/lychee-action@v2
|
|
with:
|
|
args: --config ./lychee.toml './**/*.md'
|
|
fail: true
|