From 600ea3967a82da35cccbfcb46611af125cb103fc Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Sun, 12 Jul 2026 10:44:51 -0700 Subject: [PATCH 1/4] Bump workflows to Ubuntu 26.04 --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fa0da94..4d806462 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ on: jobs: ci: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7804558b..1c106390 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ on: jobs: lint: - runs-on: ubuntu-24.04 + runs-on: ubuntu-26.04 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 From d3177961f12435932e96d7cf6ce3f57ff9fdd2cb Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Sun, 12 Jul 2026 11:19:48 -0700 Subject: [PATCH 2/4] Bump r-version to 4.6.1 (latest) --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d806462..bd6624c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: - uses: r-lib/actions/setup-r@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 with: - r-version: 4.5.2 + r-version: 4.6.1 - uses: r-lib/actions/setup-r-dependencies@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 with: From 08a877616165d72adb56418662390bdb669f69a8 Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Sun, 12 Jul 2026 11:33:24 -0700 Subject: [PATCH 3/4] Update the linter workflow to follow the example from https://github.com/r-lib/actions/tree/v2-branch/examples#lint-workflow --- .github/workflows/lint.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1c106390..605eff9e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,11 +25,11 @@ jobs: - uses: r-lib/actions/setup-r-dependencies@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 with: - cache-version: 1 - packages: | - lintr + extra-packages: any::lintr, local::. + needs: lint - name: Run exercism/r ci pre-check (checks config, lint code) for all exercises - run: | - source("bin/run_lints.R") + run: lintr::lint_package() shell: Rscript {0} + env: + LINTR_ERROR_ON_LINT: true From f752e28a7a356a07d34ea40fc624951f7d4cd10d Mon Sep 17 00:00:00 2001 From: Colin Leach Date: Sun, 19 Jul 2026 11:09:59 -0700 Subject: [PATCH 4/4] Update GitHub Actions to use latest action versions We _may_ be locking the built-in actions to an unsuitable release. This is an experiment to see if GH can sort itself out. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd6624c3..234355e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,13 +25,13 @@ jobs: runs-on: ubuntu-26.04 steps: - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 + - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-r@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 + - uses: r-lib/actions/setup-r@v2 with: r-version: 4.6.1 - - uses: r-lib/actions/setup-r-dependencies@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 + - uses: r-lib/actions/setup-r-dependencies@v2 with: cache-version: 2 packages: |