make JSON::Validator::Util::is_bool return true when passed perl v5.36+ builtin booleans #211
Workflow file for this run
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: ci | |
on: | |
pull_request: | |
push: | |
branches: | |
- "**" | |
jobs: | |
perl: | |
name: "Perl ${{matrix.perl}} on ${{matrix.os}}" | |
strategy: | |
matrix: | |
os: ["ubuntu-latest", "windows-latest"] | |
perl: ["5.32", "5.26"] | |
runs-on: "${{matrix.os}}" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: shogo82148/actions-setup-perl@v1 | |
with: | |
perl-version: "${{matrix.perl}}" | |
- run: perl -V | |
- name: Fix ExtUtils::MakeMaker for Perl 5.16 | |
run: cpanm -n App::cpanminus ExtUtils::MakeMaker | |
- name: Install dependencies | |
run: | | |
cpanm -n Test::CPAN::Changes Test::Pod::Coverage Test::Pod Test::Spelling | |
cpanm -n Net::IDN::Encode Data::Validate::Domain Data::Validate::IP YAML::LibYAML | |
cpanm -n Test::JSON::Schema::Acceptance | |
cpanm -n --installdeps . | |
- name: Run tests | |
run: prove -l t/*.t | |
env: | |
AUTHOR_TESTING: 1 | |
HARNESS_OPTIONS: j6 | |
MOJO_LOG_LEVEL: info | |
TEST_ACCEPTANCE: 1 |