Skip to content

Commit

Permalink
(cslant#26) feat: add shellcheck in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Jul 23, 2023
1 parent a0ffccc commit 64a8385
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,21 @@ env:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

jobs:
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore_paths: >-
sources
push_to_registry:
if: github.event_name != 'pull_request'
name: LAMP Docker Image to Hub
needs: shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down

0 comments on commit 64a8385

Please sign in to comment.