From 46a05295700e3895bc226b73d42caaead1515852 Mon Sep 17 00:00:00 2001 From: Eitaro Fukamachi Date: Fri, 12 Jul 2024 12:22:04 +0000 Subject: [PATCH] Add CI for shell scripts. --- .github/workflows/ci-scripts.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/ci-scripts.yaml diff --git a/.github/workflows/ci-scripts.yaml b/.github/workflows/ci-scripts.yaml new file mode 100644 index 0000000..8aa9b00 --- /dev/null +++ b/.github/workflows/ci-scripts.yaml @@ -0,0 +1,16 @@ +name: CI for scripts + +on: + push: + paths: + - 'scripts/**' + +jobs: + test: + name: ShellCheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Run ShellCheck + run: | + docker run --rm -v "$PWD:/mnt" koalaman/shellcheck:stable scripts/*