Files
free-steam-games-list/web/qodana.yaml
T
poli0981andClaude Opus 5.5 a956c8e182 ci(qodana): one workflow, interpreter, Rust build deps, Svelte via Docker
What the first runs showed, and the changes:

- Python: SDKs.json was empty - native mode finds no interpreter by
  itself, and without one every `dict[int, str]` and `X | None` was an
  "invalid type hint" (11 of the 50 problems). The job now builds .venv
  from the hashed requirements and passes QODANA_PYTHON_PATH.
- Rust: "Analysis scope: 0 packages" and a Critical "Cargo project
  loading" sanity problem: the image has no C linker and none of
  Tauri's libraries, and runs as the runner's user, who can neither
  apt-get install nor write the image's CARGO_HOME. Now `-u root`,
  CARGO_HOME in the cached Qodana cache dir, and a bootstrap that
  installs the build packages.
- JS/TS: installing the Svelte plugin fails in native mode with every
  released CLI up to 2026.2.3 ("qodana.build.date system property must
  be set"; fixed upstream as QD-16701 on 2026-11-05, unreleased), so
  this project runs in the Qodana image, on the node_modules and
  generated files the job prepared.

One workflow (qodana.yml) with a job per project, as in
free-games-itchio-list: the token check covers all three, triggers skip
data and Markdown-only commits, no PR comment (annotations, Qodana
Cloud and the report artifact carry the results), --repository-root .
for the subdirectory projects, and each job keeps its own cache keys.
The qodana.yaml files use `exclude` and name their Qodana Cloud project.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:54:28 +07:00

29 lines
1.1 KiB
YAML

# Qodana for JavaScript / TypeScript: the site, the admin SPA, the Worker,
# the shared modules and the build code. Run by .github/workflows/qodana.yml
# (job `typescript`), reported to https://qodana.cloud/projects/GgGyE.
version: "1.0"
linter: qodana-js
# The components are .svelte files, which the linter reads only with
# JetBrains' Svelte plugin; it is not bundled with Qodana for JS. Plugins
# install in Docker mode only (the workflow says why), so this project runs
# in the Qodana image, on the node_modules the job installed.
plugins:
- id: dev.blachut.svelte.lang
profile:
name: qodana.recommended
exclude:
- name: All
paths:
# The Tauri shell is the Rust project (src-tauri/qodana.yaml).
- src-tauri
# Build output and reports.
- dist
- .admin-build
- coverage
# Generated: by `svelte-kit sync`, by the admin build (for the Worker),
# and by `wrangler types` (then spliced by hand, CLAUDE.md). Their types
# still resolve; they are only not reported on.
- .svelte-kit
- worker/generated
- worker-configuration.d.ts