Commit 2c870eaa by mingyuan

cache with default vendor/bundle

parent 20fd6f87
...@@ -33,7 +33,7 @@ jobs: ...@@ -33,7 +33,7 @@ jobs:
- name: Cache Bundle - name: Cache Bundle
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: bundle path: vendor/bundle
key: ${{ runner.OS }}-bundle-${{ hashFiles('Gemfile.lock') }} key: ${{ runner.OS }}-bundle-${{ hashFiles('Gemfile.lock') }}
- name: Cache Node Modules - name: Cache Node Modules
uses: actions/cache@v1 uses: actions/cache@v1
...@@ -43,12 +43,12 @@ jobs: ...@@ -43,12 +43,12 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: | run: |
gem install bundler gem install bundler
bundle install --path=bundle --jobs=4 --retry=3 bundle install --jobs=4 --retry=3
test/dummy/bin/yarn install --check-files test/dummy/bin/yarn install --check-files
- name: Prepare DB - name: Prepare DB
run: | run: |
bin/rails db:create bin/rails db:create
bin/rails g rails_com:migrations --force bin/rails g rails_com:migrations -f
bin/rails db:migrate bin/rails db:migrate
- name: Run Test - name: Run Test
run: | run: |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment