Skip to content

Bump the minor-and-patch group across 1 directory with 2 updates #136

Bump the minor-and-patch group across 1 directory with 2 updates

Bump the minor-and-patch group across 1 directory with 2 updates #136

Workflow file for this run

---
name: linux
on:
push:
branches:
- 'master'
tags-ignore:
- '*'
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
perl:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
- '5.42'
- '5.40'
- '5.38'
- '5.36'
- '5.34'
- '5.32'
- '5.30'
- '5.28'
- '5.26'
- '5.24'
- '5.22'
- '5.20'
- '5.18'
- '5.16'
- '5.14'
- '5.12'
- '5.10'
container:
image: perldocker/perl-tester:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v6.0.2
- name: perl -V
run: perl -V
- name: Install Dependencies
uses: perl-actions/install-with-cpm@v2.4
with:
cpanfile: cpanfile
args: "--with-configure --with-test"
# the perldocker/perl-tester container already runs as root and ships no sudo
sudo: false
# App::cpm v0.999.0+ requires Perl 5.24+; pin older Perls to the last compatible release.
version: ${{ matrix.perl-version <= '5.22' && '0.998003' || 'main' }}
- name: Create a non-root user called "runner"
run: adduser --disabled-password --gecos '' runner
- name: Run Tests as non-root user "runner"
run: |
chown -R runner:runner .
runuser runner -c 'perl Makefile.PL'
runuser runner -c 'make'
runuser runner -c 'make test'