.github/workflows/main.yml in mocktail-0.0.1 vs .github/workflows/main.yml in mocktail-0.0.2
- old
+ new
@@ -2,17 +2,23 @@
on: [push,pull_request]
jobs:
build:
- runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ os: [ ubuntu-latest ]
+ ruby-version: [3.0.1]
+
+ runs-on: ${{ matrix.os }}
+
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3.0.1
+ ruby-version: ${{ matrix.ruby-version }}
- name: Run the default task
run: |
- gem install bundler -v 2.2.15
+ gem install bundler
bundle install
bundle exec rake