From 063f0a41bdb302716da2e7c13412bdb14e6b2959 Mon Sep 17 00:00:00 2001 From: Takumi Shotoku Date: Wed, 6 May 2026 00:15:20 +0900 Subject: [PATCH] Enable bundler cache in GitHub Actions Use ruby/setup-ruby's bundler-cache option to cache installed gems keyed by Gemfile.lock, reducing CI time spent on bundle install. The option runs bundle install automatically, so the explicit Bundle install step was removed. --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 373df3e5e..bb5d50201 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,9 +33,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - - name: Bundle install - run: | - bundle install + bundler-cache: true - name: Run the test suite run: | bundle exec rake TESTOPT=-v RUBYOPT="${{ matrix.rubyopt }}"