Skip to content

Bump the dependencies group across 1 directory with 2 updates #16

Bump the dependencies group across 1 directory with 2 updates

Bump the dependencies group across 1 directory with 2 updates #16

Workflow file for this run

name: Test App & Library
on:
push:
branches:
- main
tags:
- "*"
pull_request:
paths:
- "app/**"
- ".github/**"
- "nusamai/**"
- "nusamai-*/**"
- "demo/**"
- "docs/**"
- "*"
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Restore timestamps to cache workspace crates
uses: chetan/git-restore-mtime-action@v2
- name: Rustup
run: rustup toolchain install stable --profile minimal
- name: Rust Cache
uses: Swatinem/rust-cache@v2
with:
cache-workspace-crates: true
- name: Install dependencies
# if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt install -y libwebkit2gtk-4.1-dev libxdo-dev libssl-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Make Tauri build destination
run: mkdir -p app/build
- name: Test
run: cargo llvm-cov --workspace --lcov --output-path lcov.info --all-features
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: lcov.info
fail_ci_if_error: false