.circleci/config.yml in physical-0.4.4 vs .circleci/config.yml in physical-0.4.5
- old
+ new
@@ -5,17 +5,12 @@
version: 2
jobs:
build:
docker:
# specify the version you desire here
- - image: circleci/ruby:2.4.5
+ - image: cimg/ruby:3.0.4
- # Specify service dependencies here if necessary
- # CircleCI maintains a library of pre-built images
- # documented at https://circleci.com/docs/2.0/circleci-images/
- # - image: circleci/postgres:9.4
-
working_directory: ~/repo
steps:
- checkout
@@ -34,9 +29,13 @@
- save_cache:
paths:
- ./vendor/bundle
key: v1-dependencies-{{ checksum "Gemfile.lock" }}
+
+ - run:
+ name: run Rubocop
+ command: bundle exec rubocop
# run tests!
- run:
name: run tests
command: |