README.md in knapsack_pro-1.16.0 vs README.md in knapsack_pro-1.16.1
- old
+ new
@@ -1502,12 +1502,19 @@
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
- ruby-version: 2.6.3
+ ruby-version: 2.6.5
+ - uses: actions/cache@v1
+ with:
+ path: vendor/bundle
+ key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-gems-
+
# required to compile pg ruby gem
- name: install PostgreSQL client
run: sudo apt-get install libpq-dev
- name: Build and create DB
@@ -1518,9 +1525,10 @@
PGUSER: postgres
PGPORT: ${{ job.services.postgres.ports[5432] }} # get randomly assigned published port
RAILS_ENV: test
run: |
gem install bundler
+ bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
bin/rails db:setup
- name: Run tests
env: