.circleci/config.yml in procon_bypass_man-0.1.21 vs .circleci/config.yml in procon_bypass_man-0.1.22
- old
+ new
@@ -32,10 +32,18 @@
key: gem-cache-v1-<< parameters.ruby-version >>-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }}
paths:
- vendor/bundle
jobs:
+ check_pbm_version:
+ executor:
+ name: ruby
+ tag: 3.0.1
+ steps:
+ - checkout
+ - run: GEM_VERSION=$(grep -o -E '[0-9.]+' lib/procon_bypass_man/version.rb) && GEM_VERSION_IN_BUNDER=$(grep procon_bypass_man project_template/app.rb | grep -o -E '[0-9.]+') && test "$GEM_VERSION" = "$GEM_VERSION_IN_BUNDER"
+
syntax_check:
parameters:
ruby-version:
type: string
executor:
@@ -90,9 +98,10 @@
- bundle_install:
ruby-version: << parameters.ruby-version >>
- run: bundle exec rspec
build_jobs: &build_jobs
+ - check_pbm_version
- syntax_check:
matrix:
parameters:
ruby-version:
- "3.0.1"