GHA: silence proselint warnings and an error

Fix new issues found by `proselint`.

Also:
- silence this technical warning:
  ```
  :0: DeprecationWarning: /home/runner/.proselintrc was found instead of a JSON file. Rename to /home/runner/.proselintrc.json.
  ```
- fix an input filename.
  `proselints` fails now if an input file is missing.

Reported-by: Jay Satiro
Bug: https://github.com/curl/curl/pull/15291#issuecomment-2410505100
Closes #15293
This commit is contained in:
Viktor Szakats 2024-10-14 11:27:54 +02:00
parent 8403e5a701
commit 3040971d12
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
84 changed files with 95 additions and 93 deletions

View file

@ -21,12 +21,12 @@ first.
Most examples should build fine using a command line like this:
`curl-config --cc --cflags --libs` -o example example.c
`curl-config --cc --cflags --libs` -o example-my example.c
Some compilers do not like having the arguments in this order but instead
want you do reorganize them like:
`curl-config --cc` -o example example.c `curl-config --cflags --libs`
`curl-config --cc` -o example-my example.c `curl-config --cflags --libs`
**Please** do not use the `curl.se` site as a test target for your libcurl
applications/experiments. Even if some of the examples use that site as a URL