GHA/man-examples: verify libcurl man page examples

This commit is contained in:
Daniel Stenberg 2023-12-04 10:50:42 +01:00
parent c5576d8d28
commit 8dbcdc8c09
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

30
.github/workflows/man-examples.yml vendored Normal file
View File

@ -0,0 +1,30 @@
# Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
#
# SPDX-License-Identifier: curl
name: manpage examples
on:
push:
branches:
- master
- '*/ci'
paths:
- 'docs/libcurl/curl_*.3'
- 'docs/libcurl/opts/*.3'
pull_request:
branches:
- master
paths:
- 'docs/libcurl/curl_*.3'
- 'docs/libcurl/opts/*.3'
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: verify examples
run: ./.github/scripts/verify-examples.pl docs/libcurl/curl*.3 docs/libcurl/opts/*.3