Skip to content
Snippets Groups Projects
Commit 5fd950db authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Cache rubocop cache for CI

parent eab9ffef
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -388,7 +388,6 @@ spinach-mysql 2 3: *spinach-metadata-mysql
 
# Static analysis jobs
.ruby-static-analysis: &ruby-static-analysis
<<: *pull-cache
variables:
SIMPLECOV: "false"
SETUP_DB: "false"
Loading
Loading
@@ -409,6 +408,12 @@ static-analysis:
stage: test
script:
- scripts/static-analysis
cache:
key: "ruby-2.3.6-with-yarn-and-rubocop"
paths:
- vendor/ruby
- .yarn-cache/
- tmp/rubocop_cache
 
# Documentation checks:
# - Check validity of relative links
Loading
Loading
Loading
Loading
@@ -17,6 +17,7 @@ AllCops:
- 'bin/**/*'
- 'generator_templates/**/*'
- 'builds/**/*'
CacheRootDirectory: tmp
 
# Gitlab ###################################################################
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment