We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f8ce92 commit 5e776bfCopy full SHA for 5e776bf
.github/workflows/lint.yml
@@ -1,7 +1,6 @@
1
name: Lint
2
3
env:
4
- HADOLINT_VERSION: v1.17.2
5
SHELLCHECK_OPTS: -e SC1008 -s bash
6
7
on:
@@ -18,16 +17,7 @@ jobs:
18
17
- name: Check out the repository
19
uses: actions/checkout@v6.0.2
20
21
- - name: Run linter
22
- id: changed_files
23
- run: |
24
- shopt -s globstar
25
- for dockerfile in **/Dockerfile; do
26
- echo "Linting: $dockerfile"
27
- docker run --rm -i \
28
- -v $(pwd)/.hadolint.yaml:/.hadolint.yaml:ro \
29
- hadolint/hadolint:${{ env.HADOLINT_VERSION }} < "$dockerfile"
30
- done
+ - uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
31
jq:
32
runs-on: ubuntu-latest
33
name: JQ
@@ -48,4 +38,3 @@ jobs:
48
38
49
39
- name: Run linter
50
40
uses: ludeeus/action-shellcheck@2.0.0
51
-
0 commit comments