Skip to content

Commit

Permalink
ci(gitlab-ci): disable pre-commit caching temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Dec 17, 2020
1 parent 4e58fe4 commit edf63a1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ commitlint:
pre-commit:
stage: *stage_lint
image: *image_precommit
# https://pre-commit.com/#gitlab-ci-example
variables:
PRE_COMMIT_HOME: '${CI_PROJECT_DIR}/.cache/pre-commit'
cache:
key: '${CI_JOB_NAME}'
paths:
- '${PRE_COMMIT_HOME}'
# # https://pre-commit.com/#gitlab-ci-example
# variables:
# PRE_COMMIT_HOME: '${CI_PROJECT_DIR}/.cache/pre-commit'
# cache:
# key: '${CI_JOB_NAME}'
# paths:
# - '${PRE_COMMIT_HOME}'
script:
- 'pre-commit run --all-files --color always --verbose'

Expand Down

0 comments on commit edf63a1

Please sign in to comment.