mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-05-15 11:36:20 +02:00
* ci: upgrade GitHub Actions to Node.js 24-compatible versions Node.js 20 actions are deprecated and will be forced to Node.js 24 starting June 2, 2026. Bump all affected actions: - actions/checkout v4 -> v6 - actions/setup-node v4 -> v6 - actions/cache v4 -> v5 - actions/upload-artifact v4 -> v6 - docker/setup-qemu-action v3 -> v4 - docker/setup-buildx-action v3 -> v4 - docker/login-action v3 -> v4 - docker/metadata-action v5 -> v6 - docker/build-push-action v6 -> v7 * ci: pin all GitHub Actions to full commit SHAs Replace floating @vN tags with immutable SHA refs for supply-chain security. Tags can be moved; SHAs cannot. Each ref includes a # vN comment for readability. Also pins actions/cache@v5, actions/setup-go@v5, and all docker/* actions that were previously using floating tags.
22 lines
485 B
YAML
22 lines
485 B
YAML
name: Lint
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**/*.md'
|
|
- '.markdownlint-cli2.jsonc'
|
|
|
|
jobs:
|
|
markdown:
|
|
# No secrets needed — run for all PRs including forks
|
|
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
|
|
with:
|
|
node-version: '22'
|
|
cache: 'npm'
|
|
- run: npm ci
|
|
- run: npm run lint:md
|