Add vasprintf/asprintf #111
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check that the README is up to date | |
on: | |
pull_request: | |
push: | |
jobs: | |
latest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checking out the code | |
uses: actions/checkout@v3 | |
- run: | | |
for function in $(find include/ -type f -exec sed -n 's/^_FORTIFY_FN(\([^)]\+\)).*/\1/p' '{}' ';' | sort | uniq) | |
do | |
grep "\`$function\`" README.md || (echo "Please add \`$function\` to the README.md file." && exit 1) | |
done | |