Skip to content

Commit 4a5d7e4

Browse files
authored
Updated runs-on from ubuntu-24.04 to ubuntu-22.04 to resolve compatibility issues with JRuby version 9.3.6.0
JRuby version 9.3.6.0 was unavailable on Ubuntu 24.04, resulting in a 404 error during setup
1 parent fb0540d commit 4a5d7e4

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
lint:
1616
name: Rubocop
1717
timeout-minutes: 15
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- name: Check out code
2121
uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
fail-fast: false
3535
matrix:
3636
ruby: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6", "jruby-9.3.6.0"]
37-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-22.04
3838
env:
3939
LOW_TIMEOUT: "0.01"
4040
REDIS_BRANCH: "7.2"
@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/cache@v4
5757
with:
5858
path: tmp
59-
key: "local-tmp-redis-7.0-on-ubuntu-latest"
59+
key: "local-tmp-redis-7.0-on-ubuntu-22.04"
6060
- name: Booting up Redis
6161
run: make start
6262
- name: Test
@@ -72,7 +72,7 @@ jobs:
7272
fail-fast: false
7373
matrix:
7474
suite: ["redis", "distributed"]
75-
runs-on: ubuntu-latest
75+
runs-on: ubuntu-22.04
7676
env:
7777
LOW_TIMEOUT: "0.01"
7878
REDIS_BRANCH: "7.2"
@@ -95,7 +95,7 @@ jobs:
9595
uses: actions/cache@v4
9696
with:
9797
path: tmp
98-
key: "local-tmp-redis-7.0-on-ubuntu-latest"
98+
key: "local-tmp-redis-7.0-on-ubuntu-22.04"
9999
- name: Booting up Redis
100100
run: make start
101101
- name: Test
@@ -111,7 +111,7 @@ jobs:
111111
fail-fast: false
112112
matrix:
113113
driver: ["hiredis"]
114-
runs-on: ubuntu-latest
114+
runs-on: ubuntu-22.04
115115
env:
116116
LOW_TIMEOUT: "0.01"
117117
DRIVER: ${{ matrix.driver }}
@@ -134,7 +134,7 @@ jobs:
134134
uses: actions/cache@v4
135135
with:
136136
path: tmp
137-
key: "local-tmp-redis-7.0-on-ubuntu-latest"
137+
key: "local-tmp-redis-7.0-on-ubuntu-22.04"
138138
- name: Booting up Redis
139139
run: make start
140140
- name: Test
@@ -149,7 +149,7 @@ jobs:
149149
fail-fast: false
150150
matrix:
151151
redis: ["7.0", "6.2", "6.0", "5.0"]
152-
runs-on: ubuntu-latest
152+
runs-on: ubuntu-22.04
153153
env:
154154
LOW_TIMEOUT: "0.14"
155155
REDIS_BRANCH: ${{ matrix.redis }}
@@ -171,7 +171,7 @@ jobs:
171171
uses: actions/cache@v4
172172
with:
173173
path: tmp
174-
key: "local-tmp-redis-${{ matrix.redis }}-on-ubuntu-latest"
174+
key: "local-tmp-redis-${{ matrix.redis }}-on-ubuntu-22.04"
175175
- name: Booting up Redis
176176
run: make start
177177
- name: Test
@@ -182,7 +182,7 @@ jobs:
182182
sentinel:
183183
name: Sentinel
184184
timeout-minutes: 15
185-
runs-on: ubuntu-latest
185+
runs-on: ubuntu-22.04
186186
env:
187187
LOW_TIMEOUT: "0.14"
188188
REDIS_BRANCH: "7.0"
@@ -204,7 +204,7 @@ jobs:
204204
uses: actions/cache@v4
205205
with:
206206
path: tmp
207-
key: "local-tmp-redis-7.0-on-ubuntu-latest"
207+
key: "local-tmp-redis-7.0-on-ubuntu-22.04"
208208
- name: Booting up Redis
209209
run: make start_sentinel wait_for_sentinel
210210
- name: Test
@@ -217,7 +217,7 @@ jobs:
217217
timeout-minutes: 15
218218
strategy:
219219
fail-fast: false
220-
runs-on: ubuntu-latest
220+
runs-on: ubuntu-22.04
221221
env:
222222
TIMEOUT: "15"
223223
LOW_TIMEOUT: "0.14"
@@ -241,7 +241,7 @@ jobs:
241241
uses: actions/cache@v4
242242
with:
243243
path: tmp
244-
key: "local-tmp-redis-7.0-on-ubuntu-latest"
244+
key: "local-tmp-redis-7.0-on-ubuntu-22.04"
245245
- name: Booting up Redis
246246
run: make start start_cluster create_cluster
247247
- name: Test

0 commit comments

Comments
 (0)