.github/workflows/test.yml in standard-1.18.0 vs .github/workflows/test.yml in standard-1.18.1
- old
+ new
@@ -1,31 +1,31 @@
name: Tests
on:
push:
- branches: [ main ]
+ branches: [main]
pull_request:
- branches: [ main ]
+ branches: [main]
workflow_run:
workflows: ["Update"]
types:
- completed
jobs:
test:
strategy:
matrix:
- os: [ ubuntu-latest ]
+ os: [ubuntu-latest]
ruby-version: [2.6, 2.7, '3.0', 3.1]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
- - name: Set up Ruby ${{ matrix.ruby-version }}
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby-version }}
- bundler-cache: true
- - name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
- run: bundle config unset deployment && bundle exec rake
+ - uses: actions/checkout@v3
+ - name: Set up Ruby ${{ matrix.ruby-version }}
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby-version }}
+ bundler-cache: true
+ - name: Run tests for Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
+ run: bundle config unset deployment && bundle exec rake