Correct YAML error in GHA + add macOS

- yamllint to the rescue. Still shows an error though:
  4:3       error    syntax error: expected <block end>, but found '<block mapping start>' (syntax)

- added macos, see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
This commit is contained in:
Dirk 2021-06-19 10:45:08 +02:00
parent b8a9b9c6db
commit 5cd97ddcb9

View File

@ -1,24 +1,24 @@
name: testssl.sh CI name: testssl.sh CI
on: [push, pull_request] on: [push, pull_request]
paths-ignore: paths-ignore:
- 'utils/**' - 'utils/**'
- 'docs/**' - 'docs/**'
- 'bin/**' - 'bin/**'
- '**.md' - '**.md'
- '**.pem' - '**.pem'
- '**.pdf' - '**.pdf'
- '**.html' - '**.html'
- 'LICENSE' - 'LICENSE'
- 'Dockerfile' - 'Dockerfile'
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: ['ubuntu-20.04'] os: ['ubuntu-20.04', 'macos-10.15']
perl: [ '5.26' ] perl: ['5.26']
name: Perl ${{ matrix.perl }} on ${{ matrix.os }} name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2