summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBen Gamari <ben@well-typed.com>2022-03-01 16:26:23 +0000
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-03-11 19:57:03 -0500
commit62caaa9b381b07208c8a2fae20fb7fee9e951004 (patch)
treeac90f58f4c605b95c0f340b0fbb7c6983bd00ce4 /.gitlab-ci.yml
parent24b6af26e2e03c93e274ba15c6ead897d884fdd4 (diff)
downloadhaskell-62caaa9b381b07208c8a2fae20fb7fee9e951004.tar.gz
gitlab-ci: Use the linters image in hlint job
As the `hlint` executable is only available in the linters image. Fixes #21146.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b9b4f1f44e..5d10b50540 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -281,6 +281,7 @@ lint-submods-branch:
hlint-ghc-and-base:
extends: .lint-params
+ image: "registry.gitlab.haskell.org/ghc/ci-images/linters:$DOCKER_REV"
variables:
BUILD_FLAVOUR: default
script:
@@ -288,7 +289,6 @@ hlint-ghc-and-base:
- .gitlab/ci.sh configure
- .gitlab/ci.sh run_hadrian lint:base
- .gitlab/ci.sh run_hadrian lint:compiler
- allow_failure: true
############################################################
# Validation via Pipelines (hadrian)