From fd57ad7b1570e174e78ba68d9a9cf9f3782e7d00 Mon Sep 17 00:00:00 2001 From: Tom Bates Date: Tue, 23 Apr 2024 08:54:07 +0100 Subject: [PATCH] Cache bundler --- .github/workflows/lint.yml | 4 ++++ .github/workflows/pull_request.yaml | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 89180958c..df5e6767b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,9 +23,13 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 + with: + bundler-cache: true - name: Rubocop uses: reviewdog/action-rubocop@v2 + with: + use_bundler: true - name: SwiftLint uses: norio-nomura/action-swiftlint@3.2.1 diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 7660acb01..338e5fb7c 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -23,9 +23,8 @@ jobs: - name: Setup Ruby uses: ruby/setup-ruby@v1 - - - name: Install Gems - run: bundle install + with: + bundler-cache: true - name: Unit tests env: