[#45] Added cargo caching; made clippy more strict

This commit is contained in:
Jef Roosens 2021-05-12 14:28:59 +02:00
parent b9d0bb7aa5
commit 2547434d95
Signed by: Jef Roosens
GPG key ID: B580B976584B5F30

View file

@ -50,7 +50,7 @@ pipeline:
commands: commands:
- cargo fmt -- --check - cargo fmt -- --check
# This is run here because it requires compilation # This is run here because it requires compilation
- cargo clippy -- -D warnings - cargo clippy --all-targets -- -D warnings
# =====REBUILD & FLUSH CACHE===== # =====REBUILD & FLUSH CACHE=====
@ -62,6 +62,7 @@ pipeline:
rebuild: true rebuild: true
mount: mount:
- target - target
- .cargo
- web/node_modules - web/node_modules
secrets: [ cache_s3_access_key, cache_s3_secret_key ] secrets: [ cache_s3_access_key, cache_s3_secret_key ]