From 3de9279033bee9f090a8c98b86894db031f38d63 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Thu, 24 Oct 2024 10:03:02 +0200 Subject: [PATCH] feat: use Differential ShellCheck directly --- .github/workflows/ci.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a90b352..6042c52 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,10 +8,21 @@ on: workflow_dispatch: jobs: - general_ci: - uses: voxpupuli/crafty/.github/workflows/general_ci.yaml@main - with: - shellcheck_scan_dir: '.' + shellcheck: + name: 'Shell Check' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Differential ShellCheck + uses: redhat-plumbers-in-action/differential-shellcheck@v5 + with: + scan-directory: | + ./docker-entrypoint.d/ + ./scripts/ + token: ${{ secrets.GITHUB_TOKEN }} + + build_test_container: name: 'Build test container'