Skip to content

Commit fc80c13

Browse files
Update CI to use recent node/gnome runtime
1 parent 55da8c7 commit fc80c13

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/flatpak-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Flatpak Builder
1010
runs-on: ubuntu-latest
1111
container:
12-
image: bilelmoussaoui/flatpak-github-actions:gnome-44
12+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
1313
options: --privileged
1414
strategy:
1515
fail-fast: false
@@ -55,7 +55,7 @@ jobs:
5555
name: Flatpak Builder Stop At
5656
runs-on: ubuntu-latest
5757
container:
58-
image: bilelmoussaoui/flatpak-github-actions:gnome-44
58+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
5959
options: --privileged
6060
steps:
6161
- uses: actions/checkout@v4
@@ -71,7 +71,7 @@ jobs:
7171
runs-on: ubuntu-latest
7272
needs: flatpak-builder
7373
container:
74-
image: bilelmoussaoui/flatpak-github-actions:gnome-44
74+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
7575
options: --privileged
7676
steps:
7777
- uses: actions/checkout@v4
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ubuntu-latest
8888
strategy:
8989
matrix:
90-
node-version: [16.x, 18.x, 20.x]
90+
node-version: [18.x, 20.x]
9191
steps:
9292
- uses: actions/checkout@v4
9393
- name: Use Node.js ${{ matrix.node-version }}
@@ -104,10 +104,10 @@ jobs:
104104
runs-on: ubuntu-latest
105105
steps:
106106
- uses: actions/checkout@v4
107-
- name: Use Node.js 16
107+
- name: Use Node.js 18
108108
uses: actions/setup-node@v3
109109
with:
110-
node-version: "16"
110+
node-version: "18"
111111
- run: yarn install --also=dev
112112
working-directory: flatpak-builder
113113
- run: yarn run eslint .

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
name: "Flatpak"
2828
runs-on: ubuntu-latest
2929
container:
30-
image: bilelmoussaoui/flatpak-github-actions:gnome-44
30+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
3131
options: --privileged
3232
steps:
3333
- uses: actions/checkout@v4
@@ -76,7 +76,7 @@ jobs:
7676
name: "Flatpak"
7777
runs-on: ubuntu-latest
7878
container:
79-
image: bilelmoussaoui/flatpak-github-actions:gnome-44
79+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
8080
options: --privileged
8181
strategy:
8282
matrix:
@@ -161,7 +161,7 @@ jobs:
161161
name: "Flatpak"
162162
runs-on: ubuntu-latest
163163
container:
164-
image: bilelmoussaoui/flatpak-github-actions:gnome-44
164+
image: bilelmoussaoui/flatpak-github-actions:gnome-47
165165
options: --privileged
166166
steps:
167167
- uses: actions/checkout@v4

flatpak-builder/tests/app-test/manifest-2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
id: org.example.MyApp.Devel
44
runtime: org.gnome.Platform
5-
runtime-version: "44"
5+
runtime-version: "47"
66
sdk: org.gnome.Sdk
77
command: test-project
88
finish-args:

flatpak-builder/tests/hash.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const { computeHash } = require('../index')
22

33
test('The manifest hash should be computed properly', async () => {
44
const hash = await computeHash('./tests/manifest-1.yaml')
5-
expect(hash).toBe('8c43f78c9f33c1f379521211c9b9e91fe051cef3f638e4427026beb27261a587')
5+
expect(hash).toBe('199876765acd9df721a52bd7b9e424ee7f4f45e1623c7a4486087bf9a43536b2')
66

77
const hash2 = await computeHash('./tests/manifest-3.json')
8-
expect(hash2).toBe('fb531a4e4d3227ff9cdb37b8d1b9830878aa63542a066c2bd157dd94c7dda1ba')
8+
expect(hash2).toBe('201c1afd5edd78d766cc9b0b74852e9459a7231bb40dcda0be4a73b1c394d75b')
99
})

flatpak-builder/tests/manifest-1.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
app-id: org.example.MyApp.Devel
44
runtime: org.gnome.Platform
5-
runtime-version: "44"
5+
runtime-version: "47"
66
sdk: org.gnome.Sdk
77
command: test-project
88
finish-args:

flatpak-builder/tests/manifest-3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"app-id": "org.gnome.design.Contrast.Devel",
33
"runtime": "org.gnome.Platform",
4-
"runtime-version": "44",
4+
"runtime-version": "47",
55
"sdk": "org.gnome.Sdk",
66
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
77
"command": "contrast",

flatpak-builder/tests/test-project/org.example.MyApp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
---
33
app-id: org.example.MyApp.Devel
44
runtime: org.gnome.Platform
5-
runtime-version: "44"
5+
runtime-version: "47"
66
sdk: org.gnome.Sdk
77
command: test-project
88
finish-args:

0 commit comments

Comments
 (0)