[GRASS-git] [OSGeo/grass] 1ab1c4: CI: Add check for CRLF line endings (#2144)

Vaclav Petras noreply at github.com
Sat Feb 5 12:05:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 1ab1c468c0b50e60cde27548f928f90de386a54c
      https://github.com/OSGeo/grass/commit/1ab1c468c0b50e60cde27548f928f90de386a54c
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-02-05 (Sat, 05 Feb 2022)

  Changed paths:
    A .github/workflows/additional_checks.yml

  Log Message:
  -----------
  CI: Add check for CRLF line endings (#2144)

This adds an new workflow with one new job which is check of CRLF line endings.
The idea is that this workflow (and job) can by extended to have more steps which are
other simple, custom checks like that (like those in utils or other 3rd party checks which are not proper linters).

The CRFL check used is a simple action erclu/check-crlf which is used, e.g., in MapServer.
Current alternatives seem to be AODocs/check-eol which uses .gitattributes and microsoftgraph/eol-blocker
which interacts more with the PR.

Excludes all files in windows directory, bat files, and test data from the CRLF check.




More information about the grass-commit mailing list