Do not set loaded booleans to readonly for perl >= v5.36 #118
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linux | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
perl-version: | |
- '5.8-buster' | |
- '5.10-buster' | |
- '5.12-buster' | |
- '5.14-buster' | |
- '5.16-buster' | |
- '5.18-buster' | |
- '5.20-buster' | |
- '5.22-buster' | |
- '5.24-buster' | |
- '5.26-buster' | |
- '5.28-buster' | |
- '5.30-bullseye' | |
- '5.32-bullseye' | |
- '5.34-bullseye' | |
- '5.36-bookworm' | |
- '5.38-bookworm' | |
- 'latest' | |
container: | |
image: perl:${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v3 | |
- run: perl -V | |
- name: Install deps | |
run: > | |
cpanm --quiet --notest --local-lib ~/perl | |
Test::More Test::Base | |
- name: Run tests | |
run: | | |
export PERL5LIB=$HOME/perl/lib/perl5 | |
PATH=$HOME/perl/bin:$PATH | |
perl Makefile.PL && make && make test | |