Skip to content

Commit 811ecf2

Browse files
committed
Use bundler-cache
This commit updates the nightly unit test workflow to use the setup-ruby action's built-in bundler-cache job to install gems. See also: puppetlabs/puppet@86820ee
1 parent 233bcc7 commit 811ecf2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/unit_tests_with_released_puppet_gem.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,7 @@ jobs:
3434
uses: ruby/setup-ruby@v1
3535
with:
3636
ruby-version: ${{ matrix.ruby }}
37-
38-
- name: Prepare testing environment with bundler
39-
run: |
40-
git config --global core.longpaths true
41-
bundle config set system 'true'
42-
bundle config set --local without 'release'
43-
bundle update --jobs 4 --retry 3
37+
bundler-cache: true
4438

4539
- name: Run unit tests
4640
run: bundle exec rake parallel_spec

0 commit comments

Comments
 (0)