From e3a0ba519d051b5e85927c9d5626bf1453fda932 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 1 Apr 2023 23:29:13 -0700 Subject: [PATCH] ci.yml: add shellcheck job --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f31931c4..cd94dc4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,6 +102,18 @@ jobs: name: ubsan-test-logs path: tests/*.log + run-shellcheck: + name: Run shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install -y shellcheck + - name: Run shellcheck + run: shellcheck tools/*.sh tools/*/*.sh + macos-build-and-test: name: Build and test on macOS runs-on: macos-latest -- 2.43.0