Skip to content

Commit dae8fb8

Browse files
committed
f
1 parent 7c02bd2 commit dae8fb8

1 file changed

Lines changed: 25 additions & 34 deletions

File tree

.github/workflows/CI.yaml

Lines changed: 25 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,63 +9,54 @@ on:
99

1010
jobs:
1111
CI:
12-
runs-on: ubuntu-latest
13-
14-
container:
15-
image: fedora:44
12+
# https://github.com/actions/runner-images/issues/13964
13+
runs-on: ubuntu-26.04
1614

1715
steps:
1816
- name: Install host dependencies
1917
run: |
20-
dnf -y update
21-
dnf -y install flatpak mutter flatpak-builder foundry git make
18+
sudo apt-get -y update
19+
sudo apt-get -y install flatpak mutter flatpak-builder foundry
2220
2321
- uses: actions/checkout@v3
2422
with:
2523
submodules: recursive
2624

2725
- uses: actions/setup-node@v3
2826
with:
29-
node-version: 20
27+
node-version: 24
3028
cache: "npm"
3129

32-
# Restore caches
33-
- name: Restore Flatpak dependencies
34-
uses: actions/cache/restore@v3
35-
with:
36-
path: ~/.local/share/flatpak
37-
key: flatpak-deps-${{ runner.os }}
38-
- name: Restore .flatpak-builder
39-
uses: actions/cache/restore@v3
40-
with:
41-
path: .flatpak-builder
42-
key: flatpak-builder-${{ runner.os }}
43-
- name: Restore .foundry
44-
uses: actions/cache/restore@v3
45-
with:
46-
path: .foundry
47-
key: foundry-${{ runner.os }}
48-
4930
- run: mutter --wayland --no-x11 --headless --wayland-display=wayland-0 --virtual-monitor 1280x720 > /tmp/mutter.log 2>&1 &
5031
- run: make ci
5132
- run: cat /tmp/mutter.log
5233

53-
# Save caches
54-
- name: Save Flatpak dependencies
55-
uses: actions/cache/save@v3
56-
if: always()
34+
# Cache apt
35+
- name: Cache apt
36+
uses: actions/cache@v4
37+
with:
38+
path: |
39+
/var/cache/apt/archives
40+
/var/lib/apt/lists
41+
key: apt-cache-${{ runner.os }}
42+
43+
# Cache Flatpak
44+
- name: Cache Flatpak dependencies
45+
uses: actions/cache@v4
5746
with:
5847
path: ~/.local/share/flatpak
5948
key: flatpak-deps-${{ runner.os }}
60-
- name: Save .flatpak-builder
61-
uses: actions/cache/save@v3
62-
if: always()
49+
50+
# Cache flatpak-builder state
51+
- name: Cache .flatpak-builder
52+
uses: actions/cache@v4
6353
with:
6454
path: .flatpak-builder
6555
key: flatpak-builder-${{ runner.os }}
66-
- name: Save .foundry
67-
uses: actions/cache/save@v3
68-
if: always()
56+
57+
# Cache Foundry
58+
- name: Cache .foundry
59+
uses: actions/cache@v4
6960
with:
7061
path: .foundry
7162
key: foundry-${{ runner.os }}

0 commit comments

Comments
 (0)