.github/workflows/main.yml in mocktail-1.2.3 vs .github/workflows/main.yml in mocktail-2.0.0
- old
+ new
@@ -5,20 +5,21 @@
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest ]
- ruby-version: ['3.0', '3.1']
+ ruby-version: ['3.0', '3.1', '3.2']
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- - name: Run the default task
+ - name: Install gem dependencies
run: |
gem install bundler
- bundle install
- bundle exec rake
+ ./script/setup
+ - name: Run the test script
+ run: ./script/test