.github/workflows/verify.yml in metasploit-model-4.0.2 vs .github/workflows/verify.yml in metasploit-model-4.0.3
- old
+ new
@@ -8,11 +8,11 @@
branches:
- '*'
jobs:
test:
- runs-on: ubuntu-16.04
+ runs-on: ubuntu-18.04
timeout-minutes: 40
services:
postgres:
image: postgres:9.6
@@ -44,27 +44,18 @@
run: sudo apt-get install graphviz
- name: Checkout code
uses: actions/checkout@v2
- - uses: actions/setup-ruby@v1
+ - name: Setup Ruby
+ uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
+ bundler-cache: true
- - name: Setup bundler
- run: |
- gem install bundler
-
- - name: Bundle install
- run: |
- bundle config path vendor/bundle
- bundle install --jobs 4 --retry 3
-
- name: Test
run: |
- gem install bundler
cp spec/dummy/config/database.yml.github_actions spec/dummy/config/database.yml
- bundle install
bundle exec rake --version
bundle exec rake db:test:prepare
bundle exec rake spec
bundle exec rake yard