Skip to content

Commit 6ed9204

Browse files
horghclaude
andcommitted
Use frozen mode for bundle install in CI
This ensures CI fails immediately with a clear error if Gemfile.lock is out of sync, rather than silently updating it. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 50b2bf2 commit 6ed9204

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
ruby-version: ruby
3232

3333
- run: bundle install
34+
env:
35+
BUNDLE_FROZEN: true
3436

3537
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
3638
# specify that we want the v1 branch.

.github/workflows/rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ jobs:
2323
ruby-version: 3.4
2424

2525
- run: bundle install
26+
env:
27+
BUNDLE_FROZEN: true
2628
- run: bundle exec rake -t rubocop

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ jobs:
3838
ruby-version: ${{ matrix.version }}
3939

4040
- run: bundle install
41+
env:
42+
BUNDLE_FROZEN: true
4143
- run: bundle exec rake -t test

0 commit comments

Comments
 (0)