Skip to content

Commit

Permalink
Modernize test workflow template
Browse files Browse the repository at this point in the history
  • Loading branch information
oalders committed Dec 23, 2023
1 parent 48dfe26 commit 7b38de4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions dzil/profiles/default/skel/.github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Build distribution
runs-on: ubuntu-20.04
container:
image: perldocker/perl-tester:5.36
image: perldocker/perl-tester:5.38
steps:
- uses: actions/checkout@v3
- name: Run Tests
Expand All @@ -34,7 +34,7 @@ jobs:
needs: build-job
runs-on: ubuntu-20.04
container:
image: perldocker/perl-tester:5.36
image: perldocker/perl-tester:5.38
steps:
- uses: actions/checkout@v3 # codecov wants to be inside a Git repository
- uses: actions/download-artifact@v3
Expand Down Expand Up @@ -68,6 +68,7 @@ jobs:
- '5.32'
- '5.34'
- '5.36'
- '5.38'
name: perl ${{ matrix.perl-version }} on ${{ matrix.os }}
steps:
- name: set up perl
Expand All @@ -79,7 +80,7 @@ jobs:
name: build_dir
path: .
- name: install deps using cpm
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@stable
with:
cpanfile: 'cpanfile'
args: '--with-suggests --with-recommends --with-test'
Expand Down Expand Up @@ -110,6 +111,7 @@ jobs:
- '5.32'
- '5.34'
- '5.36'
- '5.38'
name: perl ${{ matrix.perl-version }} on ${{ matrix.os }}
steps:
- name: set up perl
Expand All @@ -121,7 +123,7 @@ jobs:
name: build_dir
path: .
- name: install deps using cpm
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@stable
with:
cpanfile: 'cpanfile'
args: '--with-suggests --with-recommends --with-test'
Expand Down Expand Up @@ -158,7 +160,7 @@ jobs:
name: build_dir
path: .
- name: install deps using cpm
uses: perl-actions/install-with-cpm@v1
uses: perl-actions/install-with-cpm@stable
with:
cpanfile: 'cpanfile'
args: '--with-suggests --with-recommends --with-test'
Expand Down

0 comments on commit 7b38de4

Please sign in to comment.