File tree Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Expand file tree Collapse file tree 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 1- name : Build and Smoke Test
1+ name : Validate
22
33on :
44 pull_request :
55 branches :
66 - master
77
88jobs :
9- ci :
9+ build-smoke-test :
1010 timeout-minutes : 30
1111 runs-on : ubuntu-latest
1212 name : ${{ matrix.ghc }}-${{ matrix.deb }}
2424 ghc_minor : ' 9.2'
2525 steps :
2626 - uses : actions/checkout@v2
27- - name : docker build [${{ matrix.ghc }}]
28- uses : nick-invision/retry@v1
27+ - name : build + smoke test [${{ matrix.ghc }}]
28+ uses : nick-invision/retry@v2
2929 with :
3030 timeout_minutes : 8
3131 max_attempts : 3
3939 path : official-images
4040 - name : run official-images tests
4141 run : ./official-images/test/run.sh haskell:${{ matrix.ghc }}-${{ matrix.deb }}
42+
43+ hadolint :
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v2
47+ - uses : hadolint/hadolint-action@v1.6.0
48+ with :
49+ recursive : true
Original file line number Diff line number Diff line change 1+ ignored :
2+ # https://github.com/hadolint/hadolint/wiki/DL3008
3+ # Don't want to micro manage the dependency versions.
4+ - DL3008
5+ # https://github.com/hadolint/hadolint/wiki/DL3003
6+ # Using cd /tmp is a very convenient way to clean up after a step.
7+ - DL3003
8+ # https://github.com/hadolint/hadolint/wiki/DL4006
9+ # The set -eux; pattern is common in many of the official images. It likely is a better approach here.
10+ - DL4006
You can’t perform that action at this time.
0 commit comments