From f357d0bab2f777fc7ee30ff831277232e314fd6b Mon Sep 17 00:00:00 2001 From: Earlopain <14981592+Earlopain@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:16:00 +0100 Subject: [PATCH] Remove RuboCop volume The temp folder is already there, why not just use it --- .rubocop.yml | 1 + docker-compose.yml | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 8c9372ce..9f330bef 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,6 +8,7 @@ require: AllCops: NewCops: enable TargetRubyVersion: 3.2 + CacheRootDirectory: tmp/cache FactoryBot/AssociationStyle: EnforcedStyle: explicit diff --git a/docker-compose.yml b/docker-compose.yml index 0aded66d..d32085b1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -72,8 +72,7 @@ services: image: reverser volumes: - .:/app - - rubocop_cache:/rubocop_cache - entrypoint: bundle exec rubocop --cache-root /rubocop_cache + entrypoint: bundle exec rubocop profiles: - rubocop @@ -95,4 +94,3 @@ services: volumes: build_assets: - rubocop_cache: