Skip to content

Commit ba18e24

Browse files
jeltzlarskanis
authored andcommitted
WIP: ubuntu-latest workaround
1 parent 7b131ba commit ba18e24

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/binary-gems.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ jobs:
101101
env:
102102
PGVERSION: ${{ matrix.PGVERSION }}
103103
steps:
104+
# Workaround for broken ubuntu-latest image.
105+
# See https://github.com/Shopify/ruby-lsp/issues/3942
106+
- name: Remove pre-installed Ruby 4.0
107+
if: matrix.os == 'ubuntu-latest' && matrix.ruby == '4.0'
108+
run: rm -rf /opt/hostedtoolcache/Ruby/4.0*
109+
104110
- uses: actions/checkout@v4
105111
- name: Set up Ruby
106112
if: matrix.platform != 'x86-mingw32'

0 commit comments

Comments
 (0)