Skip to content

CI: check the QML on every pull request - #133

Merged
nofuturekid merged 1 commit into
mainfrom
ci-qml-check
Nov 13, 2026
Merged

nofuturekid merged 1 commit into
mainfrom
ci-qml-check

Conversation

@nofuturekid

Copy link
Copy Markdown
Collaborator

Fixes #132

What changed

  • New .github/workflows/ci.yml, on pull_request into main only: no paths: filter, no push, no workflow_dispatch, top-level permissions: contents: read.
  • qml: Arch Linux container pinned by digest, pacman -Syu qt6-declarative, then scripts/check-qml.sh. Ubuntu 24.04's own Qt 6.4.2 qmllint refuses the script's options (W, unresolved-type, missing-property, id-shadows-member, incompatible-type); Arch ships the Qt the desktop shell runs. The digest pins the image, not Qt.
  • shellcheck: same container, shellcheck scripts/*.sh.
  • required: if: always(), needs: [qml, shellcheck], passes only on success/success. The main ruleset will require this context.
  • renovate.json: helpers:pinGitHubActionDigests added. renovate-config-validator --strict (renovate 42): "Config validated successfully".
  • CHANGELOG: one line under Unreleased / Added, as for Add a QML check script (qmlcachegen and qmllint) #96.

Verified locally: actionlint clean. The proof is this pull request's own run.

🤖 Generated with Claude Code

New .github/workflows/ci.yml, triggered only by pull requests into
main (no paths filter, no push, no dispatch), contents: read. Job qml
installs qt6-declarative in an Arch Linux container pinned by digest
and runs scripts/check-qml.sh; Ubuntu 24.04's own Qt 6.4 qmllint does
not accept the script's options. Job shellcheck checks scripts/*.sh in
the same container. Job required always runs and passes only when both
gates succeeded; it is the check the main ruleset will require.

renovate.json extends helpers:pinGitHubActionDigests, so actions and
the container image stay pinned to digests.

Fixes #132

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nofuturekid
nofuturekid merged commit 026ba1e into main Nov 13, 2026
3 checks passed
@nofuturekid
nofuturekid deleted the ci-qml-check branch November 13, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: check the QML on every pull request

1 participant