Skip to content

Commit 5e248c0

Browse files
committed
Update / rename runner to be in sync w Mac runner
1 parent 6aa1c58 commit 5e248c0

File tree

2 files changed

+60
-41
lines changed

2 files changed

+60
-41
lines changed

.github/workflows/unit_tests.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
name: testssl.sh CI with Ubuntu
3+
4+
on:
5+
pull_request:
6+
paths-ignore:
7+
- 'utils/**'
8+
- 'doc/**'
9+
- 'bin/**'
10+
- '**.md'
11+
- '**.pem'
12+
- '**.pdf'
13+
- '**.html'
14+
- 'LICENSE'
15+
- 'Dockerfile'
16+
- 'Dockerfile.alpine'
17+
18+
permissions:
19+
contents: read
20+
21+
# see https://github.com/shogo82148/actions-setup-perl
22+
jobs:
23+
build:
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
matrix:
27+
os: ['ubuntu-24.04']
28+
perl: ['5.38']
29+
name: Unit test on ${{ matrix.os }}
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- name: Set up perl
34+
uses: shogo82148/actions-setup-perl@v1
35+
with:
36+
perl-version: ${{ matrix.perl }}
37+
38+
- name: Install OS dependencies
39+
run: |
40+
sudo apt install dnsutils jsonlint
41+
printf "%s\n" "----------"
42+
perl -V
43+
printf "%s\n" "----------"
44+
curl --version
45+
printf "%s\n" "----------"
46+
openssl version -a
47+
printf "%s\n" "----------"
48+
bash --version
49+
printf "%s\n" "----------"
50+
51+
- name: Install perl modules
52+
run: |
53+
cpanm --notest Test::More
54+
cpanm --notest Data::Dumper
55+
cpanm --notest JSON
56+
cpanm --notest Text::Diff
57+
58+
- name: run it
59+
run: |
60+
prove -v t

0 commit comments

Comments
 (0)