mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
b8a9b9c6db
- define deny list of files when modified not to run GHA - specRitfy OS to be ubuntu-20.04 (is there a debian at all?) - only use perl 5.26 While researching I stumbled over mac.osx as an OS one can specify. If anybody knows whether this is really macosx (license?) please let me know. That would be a great addition for CI. (Couldn't find BSD yet...) See #1920
37 lines
851 B
YAML
37 lines
851 B
YAML
name: testssl.sh CI
|
|
|
|
on: [push, pull_request]
|
|
paths-ignore:
|
|
- 'utils/**'
|
|
- 'docs/**'
|
|
- 'bin/**'
|
|
- '**.md'
|
|
- '**.pem'
|
|
- '**.pdf'
|
|
- '**.html'
|
|
- 'LICENSE'
|
|
- 'Dockerfile'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: ['ubuntu-20.04']
|
|
perl: [ '5.26' ]
|
|
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- 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
|