From 1660d0f9832cb2f77b4cb9a7fed06f51a2593ffb Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Mon, 17 Jul 2023 14:44:15 +0900 Subject: [PATCH] Update dependencies --- .github/workflows/gempush.yml | 20 +++++++++----------- cld3.gemspec | 6 +++--- 2 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/gempush.yml b/.github/workflows/gempush.yml index 8e940ae..1c235f3 100644 --- a/.github/workflows/gempush.yml +++ b/.github/workflows/gempush.yml @@ -13,30 +13,23 @@ jobs: name: Spec runs-on: ${{ matrix.runner }} steps: - - uses: actions/checkout@v3.3.0 + - uses: actions/checkout@v3.5.3 with: submodules: true - - uses: ruby/setup-ruby@v1.138.0 + - uses: ruby/setup-ruby@v1.152.0 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - # In a Ruby process, only a version of a gem can be activated. As Bundler - # activates the default version of pathname, Bundler checks if the version - # meets the requirement specified in Gemfile. Currently, steep requires - # pathname >=0.2.1 but Ruby ships with an older version of pathname so - # manually update it to 0.2.1. - - run: gem install --default pathname:0.2.1 - - run: bundle exec rake package spec steep - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v3.1.2 with: name: ${{ matrix.ruby }}-${{ matrix.runner }} path: intermediate/*.gem strategy: matrix: - ruby: [3.2.1, 3.1.3, 3.0.5, 2.7.7] + ruby: [3.3.0-preview1, 3.2.2, 3.1.4, 3.0.6] runner: - macos-11 - macos-12 @@ -44,3 +37,8 @@ jobs: - ubuntu-22.04 - windows-2019 - windows-2022 + exclude: + - ruby: 3.3.0-preview1 + runner: windows-2019 + - ruby: 3.3.0-preview1 + runner: windows-2022 diff --git a/cld3.gemspec b/cld3.gemspec index b014784..916b853 100644 --- a/cld3.gemspec +++ b/cld3.gemspec @@ -23,10 +23,10 @@ Gem::Specification.new do |gem| gem.homepage = "https://github.com/akihikodaki/cld3-ruby" gem.author = "Akihiko Odaki" gem.email = "akihiko.odaki@gmail.com" - gem.required_ruby_version = [ ">= 2.7.0", "< 3.3.0" ] - gem.add_development_dependency "rbs", "~> 2.8.0" + gem.required_ruby_version = [ ">= 3.0.0", "< 3.4.0" ] + gem.add_development_dependency "rbs", "~> 3.1.0" gem.add_development_dependency "rspec", "~> 3.12.0" - gem.add_development_dependency "steep", "~> 1.3.0" + gem.add_development_dependency "steep", "~> 1.5.0" gem.files = Dir[ "LICENSE", "LICENSE_CLD3", "README.md", "Steepfile", "cld3.gemspec", "ext/**/*.c", "ext/**/*.cc", "ext/**/*.h",