This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
Bump 0.2.1 and archive #16
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: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
CI: true | |
BUNDLE_GEMFILE: ${{ matrix.gemfile }} | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.2"] | |
gemfile: ["gemfiles/rails7.gemfile"] | |
include: | |
- ruby: "3.1" | |
gemfile: "gemfiles/rails7.gemfile" | |
- ruby: "3.0" | |
gemfile: "gemfiles/rails7.gemfile" | |
- ruby: "3.2" | |
gemfile: "gemfiles/railsmaster.gemfile" | |
- ruby: "2.7" | |
gemfile: "gemfiles/rails6.gemfile" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install system deps | |
run: | | |
sudo apt-get update | |
sudo apt-get install libsqlite3-dev | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run RSpec | |
run: | | |
bundle exec rspec |