before_action
like filters for inertia_share
#333
Workflow file for this run
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: Testing | |
on: [push, pull_request] | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ['3.1', '3.2', '3.3'] | |
rails: ['6.1', '7.0', '7.1'] | |
runs-on: ubuntu-latest | |
name: Test against Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup System | |
run: sudo apt-get install libsqlite3-dev | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
env: | |
RAILS_VERSION: ${{ matrix.rails }} | |
- name: Run tests | |
run: bundle exec rake | |
env: | |
RAILS_VERSION: ${{ matrix.rails }} |