Fix pin_all_from
incorrectly removing "js" substring from filenames
#644
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, pull_request] | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby-version: | |
- "3.1" | |
- "3.2" | |
- "3.3" | |
- "3.4" | |
rails-version: | |
- "6.1" | |
- "7.0" | |
- "7.1" | |
- "7.2" | |
- "8.0" | |
- "main" | |
assets-pipeline: | |
- sprockets | |
- propshaft | |
exclude: | |
- rails-version: "6.1" | |
assets-pipeline: "propshaft" | |
- ruby-version: "3.1" | |
rails-version: "8.0" | |
- ruby-version: "3.1" | |
rails-version: "main" | |
- rails-version: "8.0" | |
assets-pipeline: "sprockets" | |
- rails-version: "main" | |
assets-pipeline: "sprockets" | |
name: ${{ format('Tests (Ruby {0}, Rails {1}, {2})', matrix.ruby-version, matrix.rails-version, matrix.assets-pipeline) }} | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails-version }}_${{ matrix.assets-pipeline }}.gemfile | |
ASSETS_PIPELINE: ${{ matrix.assets-pipeline }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Remove Gemfile lock | |
run: | | |
rm -f $BUNDLE_GEMFILE.lock | |
- name: Install Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
bundler-cache: true | |
- name: Run tests | |
run: | | |
bundle exec rake |