Skip to content

Commit 55a2727

Browse files
authored
Merge pull request #73 from EncoreTechnologies/feature/github-actions
Pin bundler in deploy workflow
2 parents 3de22e7 + fb52f5e commit 55a2727

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ jobs:
8585
# note: actions/setup-ruby only allows using a major.minor release of ruby
8686
- ruby: '2.5'
8787
puppet: "6.0"
88+
env:
89+
PUPPET_GEM_VERSION: '~> ${{ matrix.puppet }}'
90+
# lock to 2.1.0 because 2.2.0 is causing issues during builds
91+
BUNDLER_GEM_VERSION: '~> 2.1.0'
8892
steps:
8993
- name: Checkout repository
9094
uses: actions/checkout@v2
@@ -94,7 +98,7 @@ jobs:
9498
ruby-version: '${{ matrix.ruby }}'
9599
- name: Bundle prep
96100
run: |
97-
gem install bundler
101+
gem install bundler -v "$BUNDLER_GEM_VERSION"
98102
bundle -v
99103
rm -f Gemfile.lock
100104
# Update system gems if requested. This is useful to temporarily workaround troubles in the test runner"

0 commit comments

Comments
 (0)