Skip to content

Commit

Permalink
Try hard coded linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Nov 7, 2024
1 parent 31d1c96 commit 5038514
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/lint/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
steps:
- uses: hadolint/[email protected]
with:
dockerfile: docker/tna-python/Dockerfile
dockerfile: ${{ inputs.docker-context }}/Dockerfile
ignore: SC1091,${{ inputs.ignore-linting-rules }}
- name: ShellCheck
run: |
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4


- uses: hadolint/[email protected]
with:
dockerfile: docker/tna-python/Dockerfile
ignore: SC1091,DL3002,DL3006
- name: ShellCheck
run: |
cd docker/tna-python
[ -d "./bin" ] && shellcheck --external-sources --exclude=SC1091 ./bin/*
shellcheck --external-sources --exclude=SC2148 ./Dockerfile
shell: bash


- name: Lint
uses: ./.github/actions/lint
with:
Expand Down

0 comments on commit 5038514

Please sign in to comment.