data(metainfo): add recommends control touch #749
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
on: | |
push: | |
branches: [main] | |
pull_request: | |
name: CI | |
jobs: | |
checks: | |
name: Checks | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
# FIXME uncomment when we don't --skip ui_files anymore | |
# - name: Download dependencies | |
# run: sudo apt -y install libgtk-4-dev | |
- name: Run checks.py | |
run: curl https://raw.githubusercontent.com/SeaDve/scripts/main/checks.py | python - --verbose --skip rustfmt typos ui_files | |
rustfmt: | |
name: Rustfmt | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Create blank versions of configured file | |
run: echo -e "" >> src/config.rs | |
- name: Run cargo fmt | |
run: cargo fmt --all -- --check | |
typos: | |
name: Typos | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check for typos | |
uses: crate-ci/typos@master | |
flatpak: | |
name: Flatpak | |
runs-on: ubuntu-22.04 | |
container: | |
image: bilelmoussaoui/flatpak-github-actions:gnome-nightly | |
options: --privileged | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | |
with: | |
bundle: kooha.flatpak | |
manifest-path: build-aux/io.github.seadve.Kooha.Devel.json | |
run-tests: true | |
cache-key: flatpak-builder-${{ github.sha }} |