Skip to content

Commit efdfb80

Browse files
committed
chore(workflows/tests): upgrade to ubuntu 24.04 and install libssl1.1
1 parent b4fe01f commit efdfb80

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/tests.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,27 @@ on:
1414

1515
jobs:
1616
tests:
17-
runs-on: ubuntu-22.04
17+
runs-on: ubuntu-24.04
1818
strategy:
1919
matrix:
2020
node-version: [16.x, 18.x, 20.x, 22.x]
2121
steps:
22+
# Install libssl1.1 for libcrypto.so.1.1, which is required for binaries before 22.04 is available (4.0, 4.2, 4.4, 5.0)
23+
# currently 5.0 is still in LTS
24+
- name: Load libssl chache
25+
# cache the package so that we dont need to hit the debian server so often
26+
id: cache-libssl
27+
uses: actions/cache@v4
28+
with:
29+
path: ~/ssl
30+
key: libssl1.1
31+
- name: install libssl1.1
32+
# ubuntu seemingly does not have that package anymore, but the one from debian still works
33+
run: |
34+
mkdir -p ~/ssl && cd ~/ssl
35+
wget -nc https://ftp.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb
36+
sudo dpkg -i libssl1.1_1.1.1w-0+deb11u1_amd64.deb
37+
# end libssl1.1 install
2238
- uses: actions/checkout@v4
2339
if: github.event.inputs.git-ref == ''
2440
with:

0 commit comments

Comments
 (0)