image: ruby:2.7.0 pipelines: branches: master: - step: caches: - bundler script: - gem install bundler rubocop - gem update bundler rubocop - bundle install - rubocop - rspec develop: - step: caches: - bundler script: - gem install bundler rubocop - gem update bundler rubocop - bundle install - rubocop - rspec definitions: caches: bundler: vendor/bundle