Updates Deps #658
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: ['3.0', 3.1, 3.2, 3.3] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- name: Install GEMs | |
run: | | |
gem install bundler | |
bundle config force_ruby_platform true | |
bundle config path vendor/bundle | |
bundle install --jobs 4 --retry 3 | |
- name: rubocop | |
run: | | |
bundle exec rubocop | |
# Specs which are not tagged as slow will run first to speed up the process in case of failure | |
- name: rspec | |
run: | | |
bundle exec rspec --tag ~slow | |
bundle exec rspec --tag slow | |
- name: Coveralls | |
uses: coverallsapp/github-action@master | |
continue-on-error: true | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |