From 4a84e5688b74cdbf048b8f8892dad3c057aec20c Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Fri, 21 Aug 2026 12:34:42 -0500 Subject: [PATCH 1/2] Modernize CI and fix Tests badge link in README - Bump actions/checkout from v3 to v7 in all workflows. - Update the test matrix to drop EOL Ruby 2.7/3.0/3.1 and add Ruby 3.3/3.4, keeping ruby-head/jruby-head as allowed failures. - Bump the pinned Ruby version used by RuboCop and Danger jobs from 3.1 to 3.4. - Point the Tests badge link at the workflow page instead of the generic Actions tab, matching the convention used in other dblock repos. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/rubocop.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- CHANGELOG.md | 1 + README.md | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 571aa08..91404c6 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -4,11 +4,11 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.1 + ruby-version: 3.4 bundler-cache: true - name: Run RuboCop run: bundle exec rubocop diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d98b39b..783ebd4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,15 +6,15 @@ jobs: strategy: matrix: entry: - - { ruby: "2.7" } - - { ruby: "3.0" } - { ruby: "3.1" } - { ruby: "3.2" } + - { ruby: "3.3" } + - { ruby: "3.4" } - { ruby: ruby-head, ignore: true } - { ruby: jruby-head, ignore: true } name: Test (ruby=${{ matrix.entry.ruby }}) steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v7 - name: Install Ruby uses: ruby/setup-ruby@v1 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index cd6b7f6..26adbda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * [#49](https://github.com/dblock/open-weather-ruby-client/pull/49): Upgrade danger-changelog to 0.8.0 and danger-toc to 0.2.0 - [@dblock](https://github.com/dblock), [@Copilot](https://github.com/apps/copilot-swe-agent). * Your contribution here. * [#46](https://github.com/dblock/open-weather-ruby-client/pull/46): Added support for the five day forecast API - [@mgm702](https://github.com/mgm702). +* [#48](https://github.com/dblock/open-weather-ruby-client/pull/48): Modernized CI: dropped EOL Ruby 2.7/3.0, added Ruby 3.3/3.4 to the test matrix, bumped `actions/checkout` to v7, and fixed the Tests badge link in the README - [@dblock](https://github.com/dblock), [@Copilot](https://github.com/apps/copilot-swe-agent). ### 0.6.0 (2024/10/19) diff --git a/README.md b/README.md index 9833452..66b786a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ OpenWeather Ruby Client ======================= [![Gem Version](https://badge.fury.io/rb/open-weather-ruby-client.svg)](https://badge.fury.io/rb/open-weather-ruby-client) -[![Tests Status](https://github.com/dblock/open-weather-ruby-client/actions/workflows/test.yml/badge.svg)](https://github.com/dblock/open-weather-ruby-client/actions) +[![Tests Status](https://github.com/dblock/open-weather-ruby-client/actions/workflows/test.yml/badge.svg)](https://github.com/dblock/open-weather-ruby-client/actions/workflows/test.yml) A Ruby client for the [OpenWeather API v2.5 and v3.0](https://openweathermap.org/api). From 6959117ac3155fb0a149aabf00db3578ae9715d3 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Fri, 21 Aug 2026 12:41:15 -0500 Subject: [PATCH 2/2] Add Ruby 4.0 to test matrix Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 783ebd4..113311e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,6 +10,7 @@ jobs: - { ruby: "3.2" } - { ruby: "3.3" } - { ruby: "3.4" } + - { ruby: "4.0" } - { ruby: ruby-head, ignore: true } - { ruby: jruby-head, ignore: true } name: Test (ruby=${{ matrix.entry.ruby }})