Skip to content

make JSON::Validator::Util::is_bool return true when passed perl v5.36+ builtin booleans #209

make JSON::Validator::Util::is_bool return true when passed perl v5.36+ builtin booleans

make JSON::Validator::Util::is_bool return true when passed perl v5.36+ builtin booleans #209

Workflow file for this run

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