From 4638d4d3ee5ce61a2dd3171b7b817398e5bae3b0 Mon Sep 17 00:00:00 2001 From: larsevj Date: Wed, 2 Oct 2024 10:19:51 +0200 Subject: [PATCH] Shellcheck testkomodo.sh in github workflow --- .github/workflows/actionlint.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actionlint.yml b/.github/workflows/actionlint.yml index 2a95b3f9fe5..2fd6cf60533 100644 --- a/.github/workflows/actionlint.yml +++ b/.github/workflows/actionlint.yml @@ -12,10 +12,15 @@ jobs: timeout-minutes: 60 steps: - uses: actions/checkout@v4 - - name: Download actionlint + - name: Download actionlint and shellcheck id: get_actionlint - run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) + run: | + bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) + sudo apt-get update + sudo apt-get install shellcheck shell: bash - name: Check workflow files - run: ${{ steps.get_actionlint.outputs.executable }} -color + run: | + ${{ steps.get_actionlint.outputs.executable }} -color + shellcheck -s bash ci/testkomodo.sh shell: bash