Skip to content

Commit

Permalink
Update CI to use most recent/oldest supported Perl
Browse files Browse the repository at this point in the history
  • Loading branch information
cromedome committed Oct 7, 2023
1 parent 8328e3e commit 152f7ef
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
fail-fast: false
matrix:
perl-version:
- '5.38'
- '5.32'
- '5.30'
- '5.20'

container:
Expand Down Expand Up @@ -63,14 +63,14 @@ jobs:
dzil test --author --release
- name: Create release
if: ${{ matrix.perl-version == '5.32' }}
if: ${{ matrix.perl-version == '5.38' }}
run: |
# Increase the version number by 0.000001 so in the reports we can be sure we are using the code to be released.
perl -i -p -e 's/^version\s*=\s*(\d+\.\d+)/"version = " . ($1 + 0.000001)/e' dist.ini
dzil build
- name: Archive artifacts
if: ${{ matrix.perl-version == '5.32' }}
if: ${{ matrix.perl-version == '5.38' }}
uses: actions/upload-artifact@v2
with:
name: the-dancer
Expand All @@ -86,8 +86,8 @@ jobs:
fail-fast: false
matrix:
perl-version:
- '5.32'
- "5.30"
- '5.38'
- "5.32"
- "5.14"
# - "5.28"
# - "5.26"
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
fail-fast: false
matrix:
perl-version:
- '5.32'
- '5.38'

container:
image: perldocker/perl-tester:${{ matrix.perl-version }} # https://hub.docker.com/r/perldocker/perl-tester
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
# Will resolve and uncomment later.
#runner: [ubuntu-latest, macos-latest, windows-latest]
runner: [ubuntu-latest, macos-latest]
perl: [ '5.32' ]
perl: [ '5.38' ]

runs-on: ${{matrix.runner}}
name: Native on OS ${{matrix.runner}} Perl ${{matrix.perl}}
Expand Down

0 comments on commit 152f7ef

Please sign in to comment.