Skip to content

Shorten code in src/list_view.py #33

Shorten code in src/list_view.py

Shorten code in src/list_view.py #33

Workflow file for this run

on:
push:
branches: [main]
pull_request:
name: CI
jobs:
flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly
options: --privileged
strategy:
matrix:
arch: [x86_64, aarch64]
# Don't fail the whole workflow if one architecture fails
fail-fast: false
steps:
- uses: actions/checkout@v3
# Docker is required by the docker/setup-qemu-action which enables emulation
- name: Install deps
run: |
dnf -y install docker
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v2
with:
platforms: arm64
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
with:
bundle: flashcards.flatpak
manifest-path: io.github.fkinoshita.FlashCards.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}