From c82b25d935d44cc31bec3f7c2c4b31bdf1f9275a Mon Sep 17 00:00:00 2001 From: Chris Reeves Date: Fri, 3 May 2024 09:00:45 +0100 Subject: [PATCH] Install shellcheck and shfmt for deploy workflow Both of the release scripts call `pnpm verify:bail` (which runs the test suite), so these test dependencies need to be installed here as well. Although `shellcheck` is included in GitHub's `ubuntu-latest` build image, we explicitly install it here both for consistency with the `verify` workflow and as a guard against this being removed from the build image in future. --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fcf97007..73c505c4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,6 +11,9 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install shellcheck and shfmt (used for testing) + run: sudo apt-get install -y shellcheck shfmt + - uses: pnpm/action-setup@v2 with: version: 8