From c8dc701f24547128d597c9ffa8c50032dd63a6ae Mon Sep 17 00:00:00 2001 From: Oliver Lee Date: Wed, 26 Jun 2024 11:55:20 -0700 Subject: [PATCH] ci: test shell files with `shellcheck` Change-Id: If32fcb000afd8cc1112123a3f7e069bb408a05cd --- .github/workflows/check.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..c82716e --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,16 @@ +name: check + +on: + push: + branches [ main ] + pull_request: + branches: [ "*" ] + workflow_dispatch: + +jobs: + shellcheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: shellcheck *.sh +