Commit e8da1354 authored by Ben Gamari's avatar Ben Gamari 🐢

gitlab-ci: Fix submodule linter

We ran it against the .git directory despite the fact that the linter
wants to be run against the repository.
parent c2991f16
......@@ -118,7 +118,7 @@ typecheck-testsuite:
- "echo Linting submodule changes between $base..$CI_COMMIT_SHA"
- git submodule foreach git remote update
# TODO: Fix submodule linter
- submodchecker .git $(git rev-list $base..$CI_COMMIT_SHA) || true
- submodchecker . $(git rev-list $base..$CI_COMMIT_SHA) || true
dependencies: []
tags:
- lint
......@@ -148,7 +148,7 @@ lint-submods-branch:
script:
- "echo Linting submodule changes between $CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA"
- git submodule foreach git remote update
- submodchecker .git $(git rev-list $CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA)
- submodchecker . $(git rev-list $CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA)
only:
refs:
- master
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment