summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-03-22 00:46:37 -0400
committerBen Gamari <ben@smart-cactus.org>2019-03-22 10:34:51 -0400
commitcd07086ada34888c08585f4dc98a961618748ed0 (patch)
tree7c26dd93ce6f60fc65f6abe543fe7576d4cc3a58
parentd608d5434772c121759535d13c286a676abb565f (diff)
downloadhaskell-cd07086ada34888c08585f4dc98a961618748ed0.tar.gz
gitlab-ci: Fix linters
-rw-r--r--.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee0543a078..86d0fde12a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -58,6 +58,7 @@ ghc-linters:
# - validate-commit-msg .git $(git rev-list $base..$CI_COMMIT_SHA)
- validate-whitespace .git $(git rev-list $base..$CI_COMMIT_SHA)
- .gitlab/linters/check-makefiles.py $base $CI_COMMIT_SHA
+ - git checkout "$CI_COMMIT_SHA"
- .gitlab/linters/check-cpp.py $base $CI_COMMIT_SHA
dependencies: []
tags: