Translations update from Hosted Weblate #629
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Specs & Lint | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Crystal | |
uses: crystal-lang/install-crystal@v1 | |
- name: Check formatting | |
run: crystal tool format --check | |
flatpak-builder: | |
name: "Flatpak Builder" | |
runs-on: ubuntu-latest | |
needs: [ lint ] | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:gnome-45 | |
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@v4 | |
- name: Validate AppStream | |
run: appstreamcli validate ./data/dev.geopjr.Collision.metainfo.xml.in | |
# Docker is required by the docker/setup-qemu-action which enables emulation | |
# - name: Install deps | |
# if: matrix.arch == 'aarch64' | |
# run: dnf -y install docker | |
# - name: Set up QEMU | |
# if: matrix.arch == 'aarch64' | |
# id: qemu | |
# uses: docker/setup-qemu-action@v2 | |
# with: | |
# platforms: arm64 | |
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | |
with: | |
bundle: "dev.geopjr.Collision.Devel.flatpak" | |
run-tests: true | |
manifest-path: "data/dev.geopjr.Collision.json" | |
cache-key: flatpak-builder-${{ github.sha }} | |
arch: ${{ matrix.arch }} | |
repository-name: flathub-beta | |
repository-url: https://flathub.org/beta-repo/flathub-beta.flatpakrepo |