Update Plug Version #70
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| ci_checks: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: | |
| - 3.1.4 | |
| - 3.2.2 | |
| name: Ruby ${{ matrix.ruby }} sample | |
| steps: | |
| - name: Checkout this repo | |
| uses: actions/checkout@v2 | |
| - name: Install Ruby and Bundler | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| ruby-version: ${{ matrix.ruby }} | |
| - name: Run rubocop | |
| run: | | |
| bundle exec rubocop | |
| - name: Run tests | |
| run: | | |
| RAILS_ENV=test bin/rails db:migrate | |
| bundle exec rspec |