From 590b65ce2e9144e7615cf857e5901a5517a5899b Mon Sep 17 00:00:00 2001 From: Paul Pogonyshev Date: Tue, 5 Sep 2023 19:50:49 +0200 Subject: [PATCH] Use Eldev to check if copyright notices are up-to-date during CI. --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 224141f..0bb6f3c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -38,8 +38,15 @@ jobs: - name: Check out the source code uses: actions/checkout@v4 + with: + # To make automated copyright notice check below work. Can this be optimized? + fetch-depth: 0 - name: Test the project run: | eldev -p -dtT -C test --expect 15 eldev -dtT -C compile --set all --warnings-as-errors + + - name: Ensure that copyright notices are up-to-date + run: | + eldev -p -dvQTC doctor up-to-date-copyright --all-tests