Skip to content

Commit 75fe738

Browse files
committed
Pin setup ruby github action
1 parent 00cc93f commit 75fe738

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/command_shell_acceptance.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,10 @@ jobs:
134134
run: git config --system core.longpaths true
135135

136136
- name: Setup '${{ matrix.ruby }}' Ruby
137-
env:
138-
BUNDLE_FORCE_RUBY_PLATFORM: true
139-
uses: ruby/setup-ruby@v1
137+
# Skip for now to ensure CI passes on Windows server 2025 powershell tests
138+
#env:
139+
# BUNDLE_FORCE_RUBY_PLATFORM: true
140+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c
140141
with:
141142
ruby-version: ${{ matrix.ruby }}
142143
bundler-cache: true

.github/workflows/shared_meterpreter_acceptance.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ jobs:
201201
BUNDLE_FORCE_RUBY_PLATFORM: true
202202
# Required for macos13 pg gem compilation
203203
PKG_CONFIG_PATH: "/usr/local/opt/libpq/lib/pkgconfig"
204-
uses: ruby/setup-ruby@v1
204+
# Pinned to avoid Windows compilation failure with nokogiri
205+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c
205206
with:
206207
ruby-version: ${{ matrix.ruby }}
207208
bundler-cache: true
@@ -368,7 +369,7 @@ jobs:
368369
if: always()
369370
env:
370371
BUNDLE_FORCE_RUBY_PLATFORM: true
371-
uses: ruby/setup-ruby@v1
372+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c
372373
with:
373374
ruby-version: '3.3'
374375
bundler-cache: true

0 commit comments

Comments
 (0)