Skip to content

Chore/modernize ci - #169

Merged
sean-connelly-cmap merged 2 commits into
masterfrom
chore/modernize-ci
Aug 5, 2026
Merged

Chore/modernize ci#169
sean-connelly-cmap merged 2 commits into
masterfrom
chore/modernize-ci

Conversation

@MMenninger

Copy link
Copy Markdown
Collaborator

From AI - What PR 5 does
check-standard.yaml — full rewrite onto the modern r-lib/actions v2 pattern:

Replaced the hand-rolled remotes + manual cache + rcmdcheck steps with setup-r-dependencies + check-r-package (handles caching, system deps, and result upload internally).
Killed the risky actions/upload-artifact@main floating tag entirely (the modern action manages artifacts itself).
Added an OS matrix: macOS, Windows, and Ubuntu (previously commented out).
Added backward + forward compat: oldrel-1 (guards your R >= 3.5 floor) and a ggplot2-devel canary — an Ubuntu job that installs github::tidyverse/ggplot2 and is marked continue-on-error: true, so it reports upcoming ggplot2 breakage (the theme_set() and #164 class of problems) without blocking merges.
Set error-on: '"error"' to match the repo's prior behavior — so existing size-deprecation warnings don't turn everything red before PR 6 lands.

pkgdown.yaml — minimal safe bump: actions/checkout@v3 → v4 (both spots) and actions/cache@v3 → v4. The private CMAP-fonts checkout, the font-install step, and both deploy_to_branch steps are untouched.
One judgment call to flag
The ggplot2-devel job is deliberately non-blocking. That's the right default for a canary, but it means its signal only shows if someone looks at the checks list — it won't fail a PR. If you'd rather it be load-bearing once #164 and the theme work are fixed, flip allow_failure off in a later PR. I noted the reasoning in a comment in the file.

MMenninger and others added 2 commits July 17, 2026 12:28
PR 5 — Modernize GitHub Actions + ggplot2 release/devel matrix  (START HERE)

.github/workflows/check-standard.yaml and pkgdown.yaml use
actions/checkout@v3, actions/cache@v3, and actions/upload-artifact@main
(a floating tag) and skip Linux.

Bump to current pinned action versions; replace @main.
Add an Ubuntu runner.
Add a ggplot2 release + devel matrix (the r-lib/actions/check-r-package
template supports this) so ggplot2 breakage is caught before it reaches a user
mid-render.  check-standard.yaml — full rewrite onto the modern r-lib/actions v2 pattern:

Replaced the hand-rolled remotes + manual cache + rcmdcheck steps with setup-r-dependencies + check-r-package (handles caching, system deps, and result upload internally).
Killed the risky actions/upload-artifact@main floating tag entirely (the modern action manages artifacts itself).
Added an OS matrix: macOS, Windows, and Ubuntu (previously commented out).
Added backward + forward compat: oldrel-1 (guards your R >= 3.5 floor) and a ggplot2-devel canary — an Ubuntu job that installs github::tidyverse/ggplot2 and is marked continue-on-error: true, so it reports upcoming ggplot2 breakage (the theme_set() and #164 class of problems) without blocking merges.
Set error-on: '"error"' to match the repo's prior behavior — so existing size-deprecation warnings don't turn everything red before PR 6 lands.

pkgdown.yaml — minimal safe bump: actions/checkout@v3 → v4 (both spots) and actions/cache@v3 → v4. The private CMAP-fonts checkout, the font-install step, and both deploy_to_branch steps are untouched.
One judgment call to flag
The ggplot2-devel job is deliberately non-blocking. That's the right default for a canary, but it means its signal only shows if someone looks at the checks list — it won't fail a PR. If you'd rather it be load-bearing once #164 and the theme work are fixed, flip allow_failure off in a later PR. I noted the reasoning in a comment in the file.
@sean-connelly-cmap
sean-connelly-cmap merged commit 6ddd210 into master Aug 5, 2026
12 checks passed
@sean-connelly-cmap
sean-connelly-cmap deleted the chore/modernize-ci branch August 5, 2026 19:25
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.

2 participants