Skip to content

CI workflows at the shared baseline #22

Closed

Description

@tomaj

Context

.github/workflows/ci.yml (added in #20) already pins actions to the hermes SHAs, has workflow-level permissions: contents: read, a nightly 8.7 job with continue-on-error, composer validate --strict and composer audit. Gaps against the shared CI baseline:

  • Matrix is 8.3, 8.4, 8.5, 8.6, 8.7 + 8.3 --prefer-lowest; baseline is 8.4, 8.5, 8.6, 8.7 + 8.4 --prefer-lowest (done together with the PHP 8.4 issue).
  • code-style, static-analysis, security run on PHP 8.3; baseline: 8.4.
  • Job name Code Style (PER-CS + PHP 8.3); baseline display name Code Style.
  • No coverage on 8.6 (step has coverage: none everywhere): no coverage threshold step, no Coveralls upload, no HTML coverage artifact.
  • Missing jobs: rector (Rector), mutation-testing (Mutation Testing (Infection)) — need the tools from the static-analysis and test-suite issues.
  • No timeout-minutes on any job; actions/checkout without persist-credentials: false; no concurrency group.
  • Missing workflows: release.yml, docs.yml, codeql.yml, scorecard.yml (only ci.yml exists).
  • Vendor cache key uses hashFiles('composer.json') (fine, there is no lock file).

Proposal

Bring ci.yml to the hermes layout (no service containers needed): matrix 8.4–8.7, coverage with xdebug on 8.6 + threshold check + Coveralls (fail-on-error: false) + artifact on push to master, rector and mutation-testing jobs, baseline job names, timeout-minutes, persist-credentials: false, concurrency. Copy release.yml (archives renamed to nette-bootstrap-form-*), codeql.yml (actions language), scorecard.yml and docs.yml from hermes.

Acceptance criteria

  • Jobs named PHP 8.4, PHP 8.4 --prefer-lowest, PHP 8.5, PHP 8.6, PHP 8.7, Code Style, Static Analysis (PHPStan level max), Rector, Security Audit, Mutation Testing (Infection)
  • PHP 8.6 job measures coverage and fails below the threshold; Coveralls upload and HTML artifact present
  • Every job has timeout-minutes; every checkout has persist-credentials: false; check workflows have concurrency with cancel-in-progress
  • release.yml, docs.yml, codeql.yml, scorecard.yml exist, copied from hermes, all actions SHA-pinned
  • CI is green on master

Related: the Rector job needs #23, the coverage/Infection steps need #26; the matrix change is done together with #24.

Activity

  1. added this to the 3.0.0 milestone on Nov 22, 2026
  2. self-assigned this
    on Nov 22, 2026
  3. added
    ciGitHub Actions / pipelines
    on Nov 22, 2026
  4. tomaj commented on Nov 22, 2026

    @tomaj
    OwnerAuthor

    Done in d9c7e1d and 8faf447 on master. One deviation from the acceptance list: the code style job is named Code Style (PER-CS/PSR-12 + PHP 8.4), the display name oss/CI.md prescribes (copied from hermes), not Code Style, so the ruleset required checks are the same across repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ciGitHub Actions / pipelines

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions