update dependencies #166
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: | |
strategy: | |
matrix: | |
ruby: ['3.0', '3.1', '3.2', '3.3', '3.4'] | |
gemfile: ['active6.1.7.8', 'active7.0.8.4', 'active7.1.3.4', 'rails6.1.7.8', 'rails7.0.8.4', 'rails7.1.3.4'] | |
include: | |
- ruby: 3.1 | |
gemfile: active7.2.0.beta3 | |
- ruby: 3.2 | |
gemfile: active7.2.0.beta3 | |
- ruby: 3.3 | |
gemfile: active7.2.0.beta3 | |
- ruby: 3.4 | |
gemfile: active7.2.0.beta3 | |
- ruby: 3.1 | |
gemfile: rails7.2.0.beta3 | |
- ruby: 3.2 | |
gemfile: rails7.2.0.beta3 | |
- ruby: 3.3 | |
gemfile: rails7.2.0.beta3 | |
- ruby: 3.4 | |
gemfile: rails7.2.0.beta3 | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | |
RUBY_OPT: --disable=did_you_mean | |
services: | |
mongodb: | |
image: mongo:4.4.10 | |
ports: | |
- 8081:8081 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
cache-version: 1 | |
- run: gem update --system | |
- run: bundle install --jobs 2 --retry 3 | |
- run: bundle exec rubocop -P | |
- run: bundle exec rspec -f d spec |