chore(gitlab-ci): hlint caching

This commit is contained in:
Gregor Kleen 2021-03-08 16:30:55 +01:00
parent 2e435da623
commit 57d6d0aba8

View File

@ -8,6 +8,7 @@ default:
image:
name: fpco/stack-build:lts-16.31
cache: &global_cache
key: default
paths:
- .npm
- node_modules
@ -249,7 +250,11 @@ yesod:test:yesod:dev:
yesod:test:hlint:
stage: lint
cache: {}
cache: &hlint_cache
key: hlint
paths:
- .stack
- .stack-work
needs:
- job: npm install # transitive
@ -283,7 +288,7 @@ yesod:test:hlint:
yesod:test:hlint:dev:
stage: lint
cache: {}
cache: *hlint_cache
needs:
- job: npm install # transitive