Skip to content

Translations update from Hosted Weblate #138

Translations update from Hosted Weblate

Translations update from Hosted Weblate #138

Workflow file for this run

on:
workflow_dispatch:
push:
branches: [main]
tags:
- "*"
paths:
- "data/**"
- "po/**"
- "subprojects/**"
- "**/*.rs"
- "src/**"
- "Cargo.*"
- "build-aux/**"
- "meson*.*"
pull_request:
paths:
- "data/**"
- "po/**"
- "subprojects/**"
- "**/*.rs"
- "src/**"
- "Cargo.*"
- "build-aux/**"
- "meson*.*"
name: CI
jobs:
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- name: Create blank versions of configured file
run: echo -e "" >> src/config.rs
- name: Run cargo fmt
run: cargo fmt --all -- --check
flatpak:
name: Flatpak
container:
image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48
options: --privileged
strategy:
matrix:
variant:
- arch: x86_64
runner: ubuntu-24.04
- arch: aarch64
runner: ubuntu-24.04-arm
runs-on: ${{ matrix.variant.runner }}
steps:
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with:
bundle: packet.flatpak
manifest-path: build-aux/io.github.nozwock.Packet.Devel.json
run-tests: true
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.variant.arch }}
verbose: true