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: [2.7, '3.0']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically, but this yielded an error with '3.0'
# Error: The process '/opt/hostedtoolcache/Ruby/3.0.4/x64/bin/bundle' failed with exit code 6
# but this could have just been the dependency resolving issues discussed above
- name: Install dependencies
run: bundle install
Ruby 2.7 will be end of life March 2023.
Currently bagit prevents us from doing this upgrade. Asked about it https://github.com/tipr/bagit/issues/46.