mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-11-22 16:45:16 +01:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
59 lines
1.3 KiB
YAML
59 lines
1.3 KiB
YAML
# "paths-ignore" should be in line with unit_tests_ubuntu.yml
|
|
# and shellcheck.yml
|
|
---
|
|
name: CI run MacOS
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'utils/**'
|
|
- 'doc/**'
|
|
- 'bin/**'
|
|
- '**.md'
|
|
- '**.1'
|
|
- '**.html'
|
|
- '**.pem'
|
|
- '**.pdf'
|
|
- '**.yml'
|
|
- 'LICENSE'
|
|
- 'Dockerfile'
|
|
- 'Dockerfile.alpine'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-14
|
|
|
|
name: PoC unit test on MacOS
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up system (perl, curl is installed already)
|
|
run: |
|
|
brew install socat jsonlint cpanminus
|
|
printf "%s\n" "----------"
|
|
mv -v /opt/homebrew/bin/openssl /opt/homebrew/bin/openssl.NOPE
|
|
printf "%s\n" "----------"
|
|
perl -V
|
|
printf "%s\n" "----------"
|
|
curl --version
|
|
printf "%s\n" "----------"
|
|
openssl version -a
|
|
printf "%s\n" "----------"
|
|
bash --version
|
|
printf "%s\n" "----------"
|
|
|
|
- name: Install perl modules
|
|
run: |
|
|
cpanm --notest Test::More
|
|
cpanm --notest Data::Dumper
|
|
cpanm --notest JSON
|
|
cpanm --notest Text::Diff
|
|
|
|
- name: run it
|
|
run: |
|
|
prove -v t 2>&1
|