Patch slimselect_has_many.mjs to block recursive loop. #43
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: | |
| pull_request: | |
| env: | |
| RAILS_ENV: test | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: Ruby ${{ matrix.ruby }} / ${{ matrix.asset_pipeline }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| ruby: | |
| - '3.4.4' | |
| asset_pipeline: | |
| - sprockets | |
| - propshaft | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| env: | |
| BUNDLE_GEMFILE: gemfiles/${{ matrix.asset_pipeline }}.gemfile | |
| - name: Build Propshaft assets | |
| if: matrix.asset_pipeline == 'propshaft' | |
| run: bundle exec rails dartsass:build | |
| working-directory: spec/dummy | |
| env: | |
| BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.asset_pipeline }}.gemfile | |
| - name: Set up Chrome | |
| uses: browser-actions/setup-chrome@v1 | |
| with: | |
| chrome-version: stable | |
| - name: Run the default task | |
| run: bundle exec rake | |
| env: | |
| BUNDLE_GEMFILE: gemfiles/${{ matrix.asset_pipeline }}.gemfile |