Files
worldmonitor/.github/workflows/lint.yml
Elie Habib c82ffe5e75 ci: upgrade GitHub Actions to Node.js 24 (#1591)
* 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.
2026-03-14 21:15:39 +04:00

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