chore!: Test on Ruby 3.3 to 4.0 and require Ruby 3.3 (#151) · sourcelevel/faraday-http-cache@221ccec · GitHub
Skip to content

Commit 221ccec

Browse files
chore!: Test on Ruby 3.3 to 4.0 and require Ruby 3.3 (#151)
* ci: Test on Ruby 3.3 to 4.0, refresh action pins and add Dependabot Ruby 3.2 reached end of life in March 2026 and 4.0 has been out since December. Lint and release jobs move to 3.4, checkout to v7, release-please-action to v5. Dependabot for bundler and github-actions so this stops drifting silently. * chore!: Require Ruby 3.3 or newer Ruby 3.2 is end of life and no longer in the test matrix.
1 parent 5090892 commit 221ccec

6 files changed

Lines changed: 19 additions & 9 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 10 additions & 0 deletions

‎.github/workflows/lint.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
BUNDLE_GEMFILE: 'gemfiles/rubocop.gemfile'
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v7
1818
- uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: '3.3'
20+
ruby-version: '3.4'
2121
bundler-cache: true
2222
- name: Lint Ruby code with Rubocop
2323
run: bundle exec rubocop

‎.github/workflows/main.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
ruby: ['3.2', '3.3', '3.4']
22+
ruby: ['3.3', '3.4', '4.0']
2323
faraday_adapter: [net_http, em_http]
2424
faraday: ['~> 1.0', '~> 2.0']
2525
exclude:
@@ -28,7 +28,7 @@ jobs:
2828
faraday_adapter: em_http
2929

3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@v7
3232
- name: Set up Ruby
3333
uses: ruby/setup-ruby@v1
3434
with:

‎.github/workflows/release-please.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
release_created: ${{ steps.release.outputs.release_created }}
1919
tag_name: ${{ steps.release.outputs.tag_name }}
2020
steps:
21-
- uses: googleapis/release-please-action@v4
21+
- uses: googleapis/release-please-action@v5
2222
id: release
2323

2424
rubygems-publish:
@@ -33,10 +33,10 @@ jobs:
3333
contents: write
3434
id-token: write
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v7
3737
- uses: ruby/setup-ruby@v1
3838
with:
39-
ruby-version: "3.3"
39+
ruby-version: "3.4"
4040
bundler-cache: true
4141
- uses: rubygems/release-gem@v1
4242
with:

‎.rubocop.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AllCops:
2-
TargetRubyVersion: 3.2
2+
TargetRubyVersion: 3.3
33
NewCops: disable
44
SuggestExtensions: false
55
Exclude:

‎faraday-http-cache.gemspec‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)