Skip to content

Commit

Permalink
Add Ruby 3.1 and drop legacy versions that reached EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Mar 13, 2022
1 parent 2459d8c commit cbf737e
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/unf_ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-20.04, macos-11.0, windows-2019 ]
ruby: [ 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0, head ]
ruby: [ 2.6, 2.7, 3.0, 3.1, head ]
include:
- { os: windows-2019, ruby: mingw }
exclude:
- { os: macos-11.0, ruby: 2.2 }
- { os: macos-11.0, ruby: 2.3 }
- { os: windows-2019, ruby: head }

steps:
Expand All @@ -33,10 +31,6 @@ jobs:
- name: bundle install
shell: pwsh
run: |
# update RubyGems in Ruby 2.2, bundle install
if ('${{ matrix.ruby }}' -lt '2.3') {
gem update --system 2.7.10 --no-document
}
bundle config set --local path .bundle/vendor
bundle install --jobs 4 --retry 3
Expand Down

0 comments on commit cbf737e

Please sign in to comment.