Merge pull request #44 from keypup-io/dependabot/bundler/examples/sin… #149
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: Ruby 3.x | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: | |
- '3.0.1' | |
# - '3.1.0' | |
appraisal: | |
- 'rails-6.1' | |
- 'rails-7.0' | |
- 'semantic_logger-3.4' | |
- 'semantic_logger-4.6' | |
- 'semantic_logger-4.7.0' | |
- 'semantic_logger-4.7.2' | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: zhulik/[email protected] | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Build and test with Rake | |
env: | |
APPRAISAL_CONTEXT: ${{ matrix.appraisal }} | |
run: | | |
gem install bundler | |
bundle install --jobs 4 --retry 3 | |
bundle exec appraisal ${APPRAISAL_CONTEXT} bundle | |
bundle exec appraisal ${APPRAISAL_CONTEXT} rspec |