CI: verify libcurl function SYNPOSIS sections

With the .github/scripits/verify-synopsis.pl script

Closes #12402
This commit is contained in:
Daniel Stenberg 2023-11-24 20:29:52 +01:00
parent ad1dfc594f
commit e7112a726b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
2 changed files with 109 additions and 0 deletions

28
.github/workflows/synopsis.yml vendored Normal file
View file

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