[commit: ghc] master: gitlab-ci: Fix linters (cd07086)

git at git.haskell.org git at git.haskell.org
Fri Mar 22 22:34:20 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/cd07086ada34888c08585f4dc98a961618748ed0/ghc

>---------------------------------------------------------------

commit cd07086ada34888c08585f4dc98a961618748ed0
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Mar 22 00:46:37 2019 -0400

    gitlab-ci: Fix linters


>---------------------------------------------------------------

cd07086ada34888c08585f4dc98a961618748ed0
 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee0543a..86d0fde 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:



More information about the ghc-commits mailing list