diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 00d3999..3bd17dd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,29 +4,13 @@ on: [ push, pull_request ] jobs: test: name: Test (Ruby ${{ matrix.ruby }}) - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: - ruby: - - '2.0' - - '2.1' - - '2.2' - - '2.3' - - '2.4' - - '2.5' - - '2.6' - - '2.7' - - '3.0' - - '3.1' - - '3.2' - - '3.3' - - '3.4' - - '4.0' - - 'jruby' - - 'truffleruby' + ruby: [ 'truffleruby', 'jruby', '4.0', '3.4', '3.3', '3.2', '3.1', '3.0' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/README.md b/README.md index 77423cc..aa798a1 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ The first argument is always the program to run and is never passed to a shell, ## Compatibility -Tested on every push against Ruby 2.0 through 4.0, JRuby, and TruffleRuby, on Linux. The gem requires Ruby 2.0 or newer. It is not tested on Windows. +Tested on every push against Ruby 3.0 through 4.0, JRuby, and TruffleRuby, on Linux. The gem requires Ruby 3.0 or newer. It is not tested on Windows. ## Test diff --git a/safe_shell.gemspec b/safe_shell.gemspec index 22bc90f..73d3c0d 100644 --- a/safe_shell.gemspec +++ b/safe_shell.gemspec @@ -22,5 +22,5 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] s.extra_rdoc_files = ["LICENSE", "README.md"] - s.required_ruby_version = ">= 2.0.0" + s.required_ruby_version = ">= 3.0.0" end