.github/workflows/test.yml in hachi-1.0.0 vs .github/workflows/test.yml in hachi-2.0.0
- old
+ new
@@ -2,25 +2,22 @@
on: [pull_request]
jobs:
build:
-
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
- ruby: [2.7, '3.0']
+ ruby: [2.7, "3.0", 3.1]
steps:
- - uses: actions/checkout@v2
- - name: Set up Ruby
- uses: ruby/setup-ruby@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- bundler-cache: true
- - name: Build and test with Rake
- run: |
- gem install bundler
- bundle install
- bundle exec rake
\ No newline at end of file
+ - uses: actions/checkout@v3
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: ${{ matrix.ruby }}
+ bundler-cache: true
+ - name: Test with Rake
+ run: |
+ bundle exec rake