Skip to content

fix(sync): stop requeuing a folder on its own engine-generated feedba… #148

fix(sync): stop requeuing a folder on its own engine-generated feedba…

fix(sync): stop requeuing a folder on its own engine-generated feedba… #148

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- uses: actions/checkout@v4
- name: System dependencies
run: |
pacman -Syu --noconfirm --needed \
base-devel \
gtk4 libadwaita glib2 \
pkgconf
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: Format
run: cargo fmt --check
- name: Clippy
run: cargo clippy --all-targets -- -D warnings
- name: Test
run: cargo test
- name: i18n catalog parity
run: |
python3 tools/gen-translations.py po/es.po /tmp/es-regenerated.rs
diff -u src/util/translations/es.rs /tmp/es-regenerated.rs
- name: Build release
run: cargo build --release
coverage:
runs-on: ubuntu-latest
container: archlinux:latest
steps:
- uses: actions/checkout@v4
- name: System dependencies
run: |
pacman -Syu --noconfirm --needed \
base-devel \
gtk4 libadwaita glib2 \
pkgconf
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy, llvm-tools-preview
- uses: taiki-e/install-action@cargo-llvm-cov
- uses: Swatinem/rust-cache@v2
- name: Generate coverage
run: cargo llvm-cov --lcov --output-path lcov.info
- name: Upload coverage artifact
uses: actions/upload-artifact@v4
with:
name: lcov-info
path: lcov.info
if-no-files-found: error