From 7b14ba8e139fb107808e0d7a4fd3504ca29e0b2a Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 18 Dec 2024 10:47:02 +0800 Subject: [PATCH] * Update required ruby version to be 3.0 --- .github/workflows/coverage.yml | 4 +--- .github/workflows/tests.yaml | 7 ++----- where_lower.gemspec | 2 +- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 582501f..d89be53 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -21,8 +21,6 @@ jobs: strategy: fail-fast: false matrix: - os: - - ubuntu ruby: - "3.3" gemfile: @@ -33,7 +31,7 @@ jobs: env: BUNDLE_GEMFILE: ${{ matrix.gemfile }} COVERALLS: true - runs-on: ${{ matrix.os }}-latest + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ca813f1..c9464e6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -21,8 +21,6 @@ jobs: strategy: fail-fast: false matrix: - os: - - ubuntu ruby: - "3.1" - "3.2" @@ -38,14 +36,13 @@ jobs: - ruby: "3.1" gemfile: gemfiles/rails_8_0.gemfile include: - - os: ubuntu - ruby: ruby-head + - ruby: ruby-head gemfile: gemfiles/rails_8_0.gemfile allow_failures: true env: BUNDLE_GEMFILE: "${{ matrix.gemfile }}" ALLOW_FAILURES: "${{ matrix.allow_failures }}" - runs-on: ${{ matrix.os }}-latest + runs-on: ubuntu-latest continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} steps: - name: Checkout diff --git a/where_lower.gemspec b/where_lower.gemspec index 02836ca..e63f403 100644 --- a/where_lower.gemspec +++ b/where_lower.gemspec @@ -48,7 +48,7 @@ Gem::Specification.new do |s| s.add_development_dependency "gem-release", ">= 0.7" s.add_development_dependency "inch", "~> 0.5", ">= 0.5.10" - s.required_ruby_version = ">= 2.7.0" + s.required_ruby_version = ">= 3.0.0" s.required_rubygems_version = ">= 1.4.0" end