mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
* chore: bump version to 2.6.7 * chore: sync Cargo.lock to 2.6.7 (was stuck at 2.6.5) * ci: skip lint/test/typecheck for non-code PRs (docs, Tauri, version bumps) Added paths-ignore to lint-code, test, and typecheck workflows so they don't run when only markdown, docs, src-tauri config, or desktop build files change. Push to main still runs unconditionally.
36 lines
740 B
YAML
36 lines
740 B
YAML
name: Lint Code
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- '**/*.md'
|
|
- 'docs/**'
|
|
- 'src-tauri/**'
|
|
- 'CHANGELOG.md'
|
|
- 'LICENSE'
|
|
- '.github/workflows/build-desktop.yml'
|
|
- '.github/workflows/docker-publish.yml'
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
biome:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '22'
|
|
cache: 'npm'
|
|
- run: npm ci
|
|
- run: npm run lint:unicode
|
|
- run: npm run lint
|
|
- run: npm run lint:boundaries
|
|
- name: Markdown lint
|
|
run: npm run lint:md
|
|
- name: Version sync check
|
|
run: npm run version:check
|