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..113311e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,15 +6,16 @@ jobs: strategy: matrix: entry: - - { ruby: "2.7" } - - { ruby: "3.0" } - { ruby: "3.1" } - { 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 }}) 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).