.github/workflows/main.yml in docile-1.4.0 vs .github/workflows/main.yml in docile-1.4.1
- old
+ new
@@ -12,20 +12,31 @@
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
- ruby: [jruby, truffleruby, 2.5, 2.6, 2.7, '3.0', head]
+ ruby: [jruby, 2.7, '3.0', 3.1, 3.2, 3.3, head]
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2.3.4
+ - uses: actions/checkout@v3.3.0
+
+ # Conditionally configure bundler via environment variables as advised
+ # * https://github.com/ruby/setup-ruby#bundle-config
+ - name: Set bundler environment variables
+ run: |
+ echo "BUNDLE_WITHOUT=checks" >> $GITHUB_ENV
+ if: matrix.ruby != 3.3
+
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
+
- run: bundle exec rspec
- - uses: codecov/codecov-action@v1.5.0
+
+ - uses: codecov/codecov-action@v3.1.1
with:
name: ${{ matrix.ruby }}
file: ./coverage/coverage.xml
+
- run: bundle exec rubocop
- if: matrix.ruby == '3.0'
+ if: matrix.ruby == 3.3