check both headers and source

This commit is contained in:
k.koide 2024-06-27 12:02:31 +09:00
parent 8393a0a5b0
commit a11a98e04c
1 changed files with 3 additions and 5 deletions

View File

@ -16,8 +16,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Check header files
run: "find include/small_gicp -type f | xargs -I filename bash -c 'if ! grep -q SPDX-License-Identifier filename; then echo filename : lisence not found; exit 1; fi'"
- name: Check source files
run: "find src/small_gicp -type f | xargs -I filename bash -c 'if ! grep -q SPDX-License-Identifier filename; then echo filename : lisence not found; exit 1; fi'"
- name: Check license
run: |
find include/small_gicp src/small_gicp -type f | xargs -I filename bash -c 'if ! grep -q SPDX-License-Identifier filename; then echo filename : lisence not found; exit 1; fi'