.github/workflows/ci.yml in validates_timeliness-6.0.0.beta2 vs .github/workflows/ci.yml in validates_timeliness-6.0.0
- old
+ new
@@ -19,23 +19,18 @@
ruby: 2.7
- gemfile: rails_6_1
ruby: 3.0
name: ${{ matrix.gemfile }}, ruby ${{ matrix.ruby }}
-
+ env:
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- bundler-cache: false
+ bundler-cache: true
- - name: Bundle install
- run: |
- bundle config set gemfile "${GITHUB_WORKSPACE}/gemfiles/${{ matrix.gemfile }}.gemfile"
- bundle install --jobs 4 --retry 3
-
- name: Run specs
- run: |
- bundle exec rspec
+ run: bundle exec rspec