Skip to content
This repository was archived by the owner on Feb 22, 2025. It is now read-only.

Commit 0e69926

Browse files
authored
Merge pull request #27 from tanhongit/main
(#26) feat: add shellcheck in workflows
2 parents a0ffccc + 64a8385 commit 0e69926

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,21 @@ env:
1313
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
1414

1515
jobs:
16+
shellcheck:
17+
name: Shellcheck
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Run ShellCheck
22+
uses: ludeeus/action-shellcheck@master
23+
with:
24+
ignore_paths: >-
25+
sources
26+
1627
push_to_registry:
1728
if: github.event_name != 'pull_request'
1829
name: LAMP Docker Image to Hub
30+
needs: shellcheck
1931
runs-on: ubuntu-latest
2032
steps:
2133
- name: Checkout repository

0 commit comments

Comments
 (0)