fix(security): sync with upstream 1.8.1 + relax devise constraint for 5.x #8
This file contains hidden or 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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| gemfile: | |
| - rails7.0 | |
| - rails7.1 | |
| ruby: | |
| - "3.0" | |
| - "3.1" | |
| - "3.2" | |
| - "3.3" | |
| backend: | |
| - active_record | |
| - mongoid | |
| name: ${{ matrix.gemfile }}, ruby ${{ matrix.ruby }}, ${{ matrix.backend }} | |
| runs-on: ubuntu-latest | |
| env: | |
| BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile | |
| BACKEND: ${{ matrix.backend }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Start MongoDB | |
| uses: supercharge/mongodb-github-action@1.3.0 | |
| if: ${{ matrix.backend == 'mongoid' }} | |
| - name: Run tests | |
| run: | | |
| bundle exec rake spec |