Skip to content

Make a smart CI so that it would bump the version only if there is su… #223

Make a smart CI so that it would bump the version only if there is su…

Make a smart CI so that it would bump the version only if there is su… #223

Workflow file for this run

name: Ruby CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run cops
run: bundle exec rubocop
specs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Run specs
run: bundle exec rspec