diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1f0726e..19b0dac3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,22 +90,22 @@ jobs: - uses: actions/cache@v2 with: path: vendor/bundle - key: ${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}-${{ hashFiles(format('gemfiles/{0}.gemfile', matrix.gemfile)) }} + key: v1-${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }}-${{ hashFiles(format('gemfiles/{0}.gemfile', matrix.gemfile)) }} restore-keys: | - ${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }} - ${{ runner.os }}-branch-master-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }} + v1-${{ runner.os }}-branch-${{ github.ref }}-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }} + v1-${{ runner.os }}-branch-master-ruby-${{ matrix.ruby }}-gemfile-${{ matrix.gemfile }} - name: Bundle install - run: | - bundle config path vendor/bundle - bundle install --jobs 4 --retry 3 + run: bundle install --jobs 4 --retry 3 env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile + BUNDLE_PATH: vender/bundle - name: RSpec run: bundle exec rspec -f doc --color env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile + BUNDLE_PATH: vender/bundle finish: