diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index ad0d5c20b..174a1a6e3 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -70,11 +70,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - # see https://github.com/castwide/solargraph/actions/runs/19391419903/job/55485410493?pr=1119 - # - # match version in Gemfile.lock and use same version below - bundler: 2.5.23 - bundler-cache: false + bundler-cache: true - name: Set rbs version run: echo "gem 'rbs', '${{ matrix.rbs-version }}'" >> .Gemfile # /home/runner/.rubies/ruby-head/lib/ruby/gems/3.5.0+2/gems/rbs-3.9.4/lib/rbs.rb:11: @@ -83,9 +79,8 @@ jobs: # starting from Ruby 3.6.0 - name: Work around legacy rbs deprecation on ruby > 3.4 run: echo "gem 'tsort'" >> .Gemfile - - name: Install gems + - name: Update gems run: | - bundle _2.5.23_ install bundle update rbs # use latest available for this Ruby version - name: Update types run: bundle exec rbs collection update @@ -103,13 +98,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: '3.4' - # see https://github.com/castwide/solargraph/actions/runs/19391419903/job/55485410493?pr=1119 - # - # match version in Gemfile.lock and use same version below - bundler: 2.5.23 - bundler-cache: false - - name: Install gems - run: bundle install + bundler-cache: true - name: Update types run: bundle exec rbs collection update - name: Run tests