From f83bd3a955a55fa60a3dd15ab50b18ca2c011227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Mon, 19 Oct 2020 06:58:14 +0200 Subject: [PATCH] Add Shellcheck to CI --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06d6c3f..3e057fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,9 +10,17 @@ jobs: name: Test on ${{ matrix.os }} steps: - name: Checks out a copy of your repository - uses: actions/checkout@v1 + uses: actions/checkout@v2 - name: Run tests run: ./tests/ansi.sh id: tests - name: Echo the greeting's time run: echo 'The time was ${{ steps.tests.outputs.time }}.' + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - name: Checks out a copy of your repository + uses: actions/checkout@v2 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master