From c076269d8f79a9089a6ffa26724a4a8e2c7005fa Mon Sep 17 00:00:00 2001 From: Michael Lohmann Date: Tue, 16 Jan 2024 23:55:35 +0100 Subject: [PATCH] actions/shellcheck: check the build artifacts This is needed, because we transform the scripts (sometimes substantially) and want to make sure that all the scripts are still fine then. --- .github/workflows/test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5940da4..c93b6bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,8 +7,12 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - name: shellcheck + - name: shellcheck original files run: shellcheck *.sh **/*.sh + - name: build + run: ./build.sh + - name: shellcheck built files + run: shellcheck tutorial/.git/redeem.nuggit tutorial/.git/hooks/* tutorial/.git/*.sh - name: run tests run: ./test.sh -v