Skip to content

Commit e2cfa53

Browse files
authored
TF-2580: ci: Upgrade to ubuntu-24.04 (#12)
This commit upgrades the Github Actions runner used for CI jobs to use image `ubuntu-24.04` instead of `ubuntu-20.04`, as the latter image's retirement is imminent.
1 parent 018dec0 commit e2cfa53

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
BuildLinux:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-24.04
1010
steps:
1111
- uses: actions/checkout@v3
1212

@@ -16,6 +16,12 @@ jobs:
1616
- name: Test build module (linux-x64)
1717
run: npm i && file bin/linux-x64/capnp.node
1818

19+
# See https://github.com/electron/electron/issues/42510
20+
- name: Configure electron SUID sandbox helper
21+
run: |
22+
sudo chown root: ./node_modules/electron/dist/chrome-sandbox
23+
sudo chmod 4755 ./node_modules/electron/dist/chrome-sandbox
24+
1925
- name: Run tests
2026
run: npm test
2127

0 commit comments

Comments
 (0)