diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..87d8085 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: bundler + directory: / + schedule: + interval: weekly + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1692023..093e29b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,10 +14,10 @@ jobs: BUNDLE_GEMFILE: 'gemfiles/rubocop.gemfile' steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ruby/setup-ruby@v1 with: - ruby-version: '3.3' + ruby-version: '3.4' bundler-cache: true - name: Lint Ruby code with Rubocop run: bundle exec rubocop diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 78e69a7..1eb314c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ['3.2', '3.3', '3.4'] + ruby: ['3.3', '3.4', '4.0'] faraday_adapter: [net_http, em_http] faraday: ['~> 1.0', '~> 2.0'] exclude: @@ -28,7 +28,7 @@ jobs: faraday_adapter: em_http steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index d093e0a..b8e4682 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -18,7 +18,7 @@ jobs: release_created: ${{ steps.release.outputs.release_created }} tag_name: ${{ steps.release.outputs.tag_name }} steps: - - uses: googleapis/release-please-action@v4 + - uses: googleapis/release-please-action@v5 id: release rubygems-publish: @@ -33,10 +33,10 @@ jobs: contents: write id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 - uses: ruby/setup-ruby@v1 with: - ruby-version: "3.3" + ruby-version: "3.4" bundler-cache: true - uses: rubygems/release-gem@v1 with: diff --git a/.rubocop.yml b/.rubocop.yml index 0849060..ac5cc87 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 3.2 + TargetRubyVersion: 3.3 NewCops: disable SuggestExtensions: false Exclude: diff --git a/faraday-http-cache.gemspec b/faraday-http-cache.gemspec index 37e89e0..091b059 100644 --- a/faraday-http-cache.gemspec +++ b/faraday-http-cache.gemspec @@ -16,6 +16,6 @@ Gem::Specification.new do |gem| gem.require_paths = ['lib'] gem.executables = [] - gem.required_ruby_version = '>= 3.2.0' + gem.required_ruby_version = '>= 3.3.0' gem.add_dependency 'faraday', '>= 0.8' end