Skip to content

Commit 83516ee

Browse files
oaldersclaude
andauthored
Tune CI and dependabot config (#97)
* Group dependabot updates and add cooldown Batch minor and patch GitHub Actions bumps into a single rolling PR and keep coordinated major bumps together in their own group, so routine updates land without waiting on major-bump review. Add a 7-day cooldown so PRs wait for broken releases to be yanked or patched first. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * workflow: bump build/coverage to perldocker/perl-tester:5.42 * workflow: add concurrency block to cancel superseded runs * workflow: install deps with setup-cpm + cpm install --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 0e1aa63 commit 83516ee

2 files changed

Lines changed: 24 additions & 6 deletions

File tree

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@ updates:
55
schedule:
66
# Check for updates to GitHub Actions every week
77
interval: "weekly"
8+
groups:
9+
major-updates:
10+
patterns:
11+
- "*"
12+
update-types:
13+
- "major"
14+
minor-and-patch:
15+
patterns:
16+
- "*"
17+
update-types:
18+
- "minor"
19+
- "patch"
20+
cooldown:
21+
default-days: 7

.github/workflows/dzil-build-and-test.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,16 @@ on:
1010
- "*"
1111
workflow_dispatch:
1212

13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
1317
jobs:
1418
build-job:
1519
name: Build distribution
1620
runs-on: ubuntu-latest
1721
container:
18-
image: perldocker/perl-tester:5.38
22+
image: perldocker/perl-tester:5.42
1923
steps:
2024
- uses: actions/checkout@v6
2125
- name: Run Tests
@@ -33,7 +37,7 @@ jobs:
3337
needs: build-job
3438
runs-on: ubuntu-latest
3539
container:
36-
image: perldocker/perl-tester:5.38
40+
image: perldocker/perl-tester:5.42
3741
steps:
3842
- uses: actions/checkout@v6 # codecov wants to be inside a Git repository
3943
- uses: actions/download-artifact@v7
@@ -105,9 +109,9 @@ jobs:
105109
with:
106110
name: build_dir
107111
path: .
108-
- name: install deps using cpm
109-
uses: perl-actions/install-with-cpm@v1
112+
- uses: perl-actions/setup-cpm@v1
110113
with:
111-
cpanfile: "cpanfile"
112-
args: "--with-suggests --with-recommends --with-test"
114+
version: compat
115+
- name: install deps using cpm
116+
run: cpm install -g --cpanfile cpanfile --with-suggests --with-recommends --with-test
113117
- run: prove -lr t

0 commit comments

Comments
 (0)