on:
  push:
    branches: [main]
  pull_request:
name: CI
jobs:
  flatpak:
    name: "Flatpak"
    runs-on: ubuntu-latest
    container:
      image: bilelmoussaoui/flatpak-github-actions:gnome-44
      options: --privileged
    steps:
    - uses: actions/checkout@v3
    - uses: flatpak/flatpak-github-actions/flatpak-builder@v6
      with:
        bundle: hu.kramo.Cartridges.Devel.flatpak
        manifest-path: flatpak/hu.kramo.Cartridges.Devel.json
        cache-key: flatpak-builder-${{ github.sha }}
