Skip to content

Commit

Permalink
Stop using deprecated runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Apr 2, 2023
1 parent 9541860 commit 54f3a44
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/flatpak-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Flatpak Builder
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
strategy:
fail-fast: false
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
name: Flatpak Builder Stop At
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v3
Expand All @@ -69,7 +69,7 @@ jobs:
runs-on: ubuntu-latest
needs: flatpak-builder
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
strategy:
matrix:
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-40
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion flatpak-builder/tests/app-test/manifest-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
id: org.example.MyApp.Devel
runtime: org.gnome.Platform
runtime-version: "40"
runtime-version: "44"
sdk: org.gnome.Sdk
command: test-project
finish-args:
Expand Down
4 changes: 2 additions & 2 deletions flatpak-builder/tests/hash.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ const { computeHash } = require('../index')

test('The manifest hash should be computed properly', async () => {
const hash = await computeHash('./tests/manifest-1.yaml')
expect(hash).toBe('29ed9085544904a2bca91a82c487b5d33961650f488743473f801ccde9279ae7')
expect(hash).toBe('8c43f78c9f33c1f379521211c9b9e91fe051cef3f638e4427026beb27261a587')

const hash2 = await computeHash('./tests/manifest-3.json')
expect(hash2).toBe('f75c438a29d4f04b7b53801a653e485fbdb773a284d9f53ae29087e927b2bdfe')
expect(hash2).toBe('fb531a4e4d3227ff9cdb37b8d1b9830878aa63542a066c2bd157dd94c7dda1ba')
})
2 changes: 1 addition & 1 deletion flatpak-builder/tests/manifest-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
app-id: org.example.MyApp.Devel
runtime: org.gnome.Platform
runtime-version: "40"
runtime-version: "44"
sdk: org.gnome.Sdk
command: test-project
finish-args:
Expand Down
2 changes: 1 addition & 1 deletion flatpak-builder/tests/manifest-3.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"app-id": "org.gnome.design.Contrast.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "40",
"runtime-version": "44",
"sdk": "org.gnome.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.rust-stable"],
"command": "contrast",
Expand Down
2 changes: 1 addition & 1 deletion flatpak-builder/tests/test-project/org.example.MyApp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
---
app-id: org.example.MyApp.Devel
runtime: org.gnome.Platform
runtime-version: "40"
runtime-version: "44"
sdk: org.gnome.Sdk
command: test-project
finish-args:
Expand Down

0 comments on commit 54f3a44

Please sign in to comment.