anchor.diff:  quality:bundler-audit:
     stage: quality
     cache:
  -    <<: *gems-cache-settings
  -    policy: pull
  +    <<: *cache-settings
     script:
       - bundle check --path vendor/bundle
       - bundle exec bundle-audit check --update
  
positive.code:   stage: test
    services: *rails-services
    cache:
      <<: *gems-cache-settings
      policy: pull
    script:
      # Install node
      - curl -sL https://deb.nodesource.com/setup_10.x | bash -
  
negative.code: prepare:
    stage: setup
    cache:
      <<: *cache-settings
      policy: pull-push
    script:
      - bundle install --retry 3 --deployment --jobs $(nproc)
  
  quality:rubocop:
    stage: quality
    cache:
      <<: *cache-settings
    script:
      - bundle check --path vendor/bundle
      - bundle exec rubocop
  