.circleci/config.yml in procon_bypass_man-0.1.20.1 vs .circleci/config.yml in procon_bypass_man-0.1.20.2

- old
+ new

@@ -32,10 +32,23 @@ key: gem-cache-v1-<< parameters.ruby-version >>-{{ arch }}-{{ .Branch }}-{{ checksum "Gemfile.lock" }} paths: - vendor/bundle jobs: + syntax_check: + parameters: + ruby-version: + type: string + executor: + name: ruby + tag: << parameters.ruby-version >> + steps: + - checkout + - run: ruby -cw project_template/app.rb + - run: ruby -cw project_template/web.rb + - run: ruby -ryaml -e 'puts YAML.load_file("./project_template/setting.yml")["setting"]' > /tmp/content_of_setting.rb && ruby -cw /tmp/content_of_setting.rb + bundle_install: parameters: ruby-version: type: string executor: @@ -77,45 +90,53 @@ - bundle_install: ruby-version: << parameters.ruby-version >> - run: bundle exec rspec build_jobs: &build_jobs + - syntax_check: + matrix: + parameters: + ruby-version: + - "2.7" + - "3.0.1" + - "3.0.2" + - "3.1.1" - bundle_install: matrix: parameters: ruby-version: - "2.7" - "3.0.1" - "3.0.2" - - "3.1.0" + - "3.1.1" - lint: matrix: parameters: ruby-version: - "2.7" - "3.0.1" - "3.0.2" - - "3.1.0" + - "3.1.1" requires: - bundle_install - type_check: matrix: parameters: ruby-version: - "2.7" # - "3.0.1" # たまにSEGVするので - "3.0.2" - - "3.1.0" + - "3.1.1" requires: - bundle_install - rspec: matrix: parameters: ruby-version: - "2.7" - "3.0.1" - "3.0.2" - - "3.1.0" + - "3.1.1" requires: - bundle_install workflows: version: 2 build: