summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
blob: bb69122bee05e8196c0121568ea77d400c5b5f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: testssl.sh CI

on:
  pull_request:
    paths-ignore:
      - 'utils/**'
      - 'doc/**'
      - 'bin/**'
      - '**.md'
      - '**.pem'
      - '**.pdf'
      - '**.html'
      - 'LICENSE'
      - 'Dockerfile'

permissions:
  contents: read

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: ['ubuntu-22.04']
        perl: ['5.26']
    name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4
      - 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