.circleci/config.yml in dead_end-1.1.7 vs .circleci/config.yml in dead_end-1.2.0
- old
+ new
@@ -5,19 +5,16 @@
unit: &unit
run:
name: Run test suite
command: bundle exec rspec spec/
-jobs:
- "ruby-2-5":
- docker:
- - image: circleci/ruby:2.5
- steps:
- - checkout
- - ruby/install-deps
- - <<: *unit
+ lint: &lint
+ run:
+ name: Run linter, fix with `standardrb --fix` locally
+ command: bundle exec standardrb
+jobs:
"ruby-2-6":
docker:
- image: circleci/ruby:2.6
steps:
- checkout
@@ -38,13 +35,21 @@
steps:
- checkout
- ruby/install-deps
- <<: *unit
+ "lint":
+ docker:
+ - image: circleci/ruby:3.0
+ steps:
+ - checkout
+ - ruby/install-deps
+ - <<: *lint
+
workflows:
version: 2
build:
jobs:
- - "ruby-2-5"
- "ruby-2-6"
- "ruby-2-7"
- "ruby-3-0"
+ - "lint"