Skip to content

Updated GitHub actions workflows #13

Updated GitHub actions workflows

Updated GitHub actions workflows #13

Workflow file for this run

name: linux
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
jobs:
perl:
runs-on: ubuntu-latest
strategy:
matrix:
perl-version:
- '5.38'
- '5.18'
- '5.10'
container:
image: perl:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@v4
- name: perl -V
run: perl -V
- name: Install Dependencies
run: cpanm -n --installdeps .
- 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'