testssl.sh/.github/workflows/test.yml

49 lines
1.0 KiB
YAML
Raw Normal View History

2021-06-06 19:19:23 +02:00
name: testssl.sh CI
on:
push:
paths-ignore:
- 'utils/**'
- 'docs/**'
- 'bin/**'
- '**.md'
- '**.pem'
- '**.pdf'
- '**.html'
- 'LICENSE'
- 'Dockerfile'
pull_request:
paths-ignore:
- 'utils/**'
- 'docs/**'
- 'bin/**'
- '**.md'
- '**.pem'
- '**.pdf'
- '**.html'
- 'LICENSE'
- 'Dockerfile'
2021-06-06 19:19:23 +02:00
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-20.04']
perl: ['5.26']
2021-06-06 19:19:23 +02:00
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
2021-06-06 19:19:23 +02:00
- name: Set up perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}
- run: perl -V
- name: Install deps
run: sudo apt install dnsutils jsonlint
- run: cpanm --notest Test::More
- run: cpanm --notest Data::Dumper
- run: cpanm --notest JSON
- run: cpanm --notest Text::Diff
- run: prove -v