Skip to content

Commit c758779

Browse files
miyagawaclaude
andcommitted
Fix CI by switching to perldocker/perl-tester images
Old perl:5.x Docker images use deprecated manifest v2 schema 1 format now blocked by GitHub Actions. Switch to perl-actions/perl-versions@v2 for dynamic version discovery and perldocker/perl-tester images. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 29cf493 commit c758779

1 file changed

Lines changed: 16 additions & 19 deletions

File tree

.github/workflows/linux.yml

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,30 @@ on:
44
- push
55

66
jobs:
7+
perl-versions:
8+
runs-on: ubuntu-latest
9+
outputs:
10+
perl-versions: ${{ steps.action.outputs.perl-versions }}
11+
steps:
12+
- id: action
13+
uses: perl-actions/perl-versions@v2
14+
with:
15+
since-perl: 5.14
16+
717
perl:
18+
needs: perl-versions
819
runs-on: ubuntu-latest
20+
name: "Perl ${{ matrix.perl-version }}"
921
strategy:
1022
fail-fast: false
1123
matrix:
12-
perl-version:
13-
- '5.14'
14-
- '5.16'
15-
- '5.18'
16-
- '5.20'
17-
- '5.22'
18-
- '5.24'
19-
- '5.26'
20-
- '5.28'
21-
- '5.30'
22-
- '5.32'
23-
- '5.34'
24-
- '5.36'
25-
- '5.38'
26-
- '5.40'
24+
perl-version: ${{ fromJson(needs.perl-versions.outputs.perl-versions) }}
2725
container:
28-
image: perl:${{ matrix.perl-version }}
26+
image: perldocker/perl-tester:${{ matrix.perl-version }}
2927
steps:
30-
- uses: actions/checkout@v1
28+
- uses: actions/checkout@v4
3129
- name: Install Dependencies
32-
run: |
33-
curl -sL https://cpanmin.us/ | perl - -nq --with-develop --with-recommends --with-suggests --installdeps .
30+
run: cpanm -nq --with-develop --with-recommends --with-suggests --installdeps .
3431
- name: Run Tests
3532
run: prove -lr t
3633
env:

0 commit comments

Comments
 (0)