Add cache version
This commit is contained in:
@@ -19,9 +19,8 @@ jobs:
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
bundler-cache: false
|
||||
- name: bundle
|
||||
run: bundle install
|
||||
bundler-cache: true
|
||||
cache-version: 1
|
||||
- name: Run linters
|
||||
run: bundle exec rubocop --parallel
|
||||
- name: Ruby security checks
|
||||
@@ -57,12 +56,13 @@ jobs:
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
bundler-cache: false
|
||||
- name: bundle
|
||||
run: bundle install
|
||||
bundler-cache: true
|
||||
cache-version: 1
|
||||
|
||||
- name: Create database
|
||||
run: |
|
||||
bundle exec rails db:create
|
||||
bundle exec rails db:schema:load
|
||||
|
||||
- name: Run tests
|
||||
run: bundle exec rake
|
||||
|
||||
Reference in New Issue
Block a user