fix: ensure turbo stream names are generated based on decorated object #219
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: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| rspec: | |
| timeout-minutes: 10 | |
| name: >- | |
| rspec (${{ matrix.ruby }}) | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: | |
| - 3.4 | |
| - 3.3 | |
| - 3.2 | |
| - 3.1 | |
| rails: | |
| - 8.1 | |
| - 8.0 | |
| - 7.2 | |
| include: | |
| # Edge | |
| - { ruby: 'head', rails: 'edge', allow-fail: true } | |
| # Outdated | |
| - { ruby: '3.0', rails: '7.1' } | |
| - { ruby: '2.7', rails: '6' } # RSpec AR Expectations support Rails 7.1 since Ruby 3.0 | |
| - { ruby: '2.6', rails: '6' } | |
| - { ruby: '2.5', rails: '6' } | |
| - { ruby: '2.4', rails: '5' } | |
| exclude: | |
| - { ruby: '3.1', rails: '8.0' } | |
| - { ruby: '3.1', rails: '8.1' } | |
| - { ruby: '3.2', rails: '8.1' } # FIXME: Temporarily exclude because it's unstable. | |
| env: | |
| RAILS_VERSION: "${{ matrix.rails }}" | |
| services: | |
| mongodb: | |
| image: mongo | |
| ports: | |
| - 27017:27017 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| rubygems: latest | |
| bundler-cache: true | |
| - name: RSpec | |
| run: bin/rake | |
| continue-on-error: ${{ matrix.allow-fail }} | |
| id: test | |
| - name: >- | |
| Test ${{ steps.test.outcome }} | |
| run: | | |
| echo Ruby ${{ matrix.ruby }} | |
| echo Rails ${{ matrix.rails }} |