Performance: Memoize Encryptor in ActiveRecordEncryptedString::Type #22
Workflow file for this run
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: Rspec | |
| on: pull_request | |
| jobs: | |
| rspec-on-ruby2: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rails: | |
| - 5_0_stable | |
| - 5_1_stable | |
| - 5_2_stable | |
| - 6_0_stable | |
| - 6_1_stable | |
| - 7_0_stable | |
| name: Rails ${{ matrix.rails }} on Ruby 2.7 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 2.7 | |
| - name: Install dependencies | |
| run: | | |
| bundle lock | |
| bundle config --local path '.bundle' | |
| bundle check || bundle install --jobs 4 | |
| bundle exec appraisal ${{ matrix.rails }} bundle lock | |
| bundle exec appraisal ${{ matrix.rails }} bundle install --jobs 4 | |
| - name: Run rspec | |
| env: | |
| CI: 1 | |
| run: bundle exec appraisal ${{ matrix.rails }} rspec | |
| rspec-on-ruby3: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| rails: | |
| - 6_0_stable | |
| - 6_1_stable | |
| - 7_0_stable | |
| name: Rails ${{ matrix.rails }} on Ruby 3 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.0 | |
| - name: Install dependencies | |
| run: | | |
| bundle lock | |
| bundle config --local path '.bundle' | |
| bundle check || bundle install --jobs 4 | |
| bundle exec appraisal ${{ matrix.rails }} bundle lock | |
| bundle exec appraisal ${{ matrix.rails }} bundle install --jobs 4 | |
| - name: Run rspec | |
| env: | |
| CI: 1 | |
| run: bundle exec appraisal ${{ matrix.rails }} rspec |