Skip to content

Commit

Permalink
Cache bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Bates committed Apr 23, 2024
1 parent 951dda4 commit fd57ad7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fd57ad7

Please sign in to comment.