Skip to content

chore(deps): bump tokio from 1.29.1 to 1.30.0 in /rust (#1996) #4266

chore(deps): bump tokio from 1.29.1 to 1.30.0 in /rust (#1996)

chore(deps): bump tokio from 1.29.1 to 1.30.0 in /rust (#1996) #4266

name: Rust backend test for android
on:
pull_request:
push:
branches:
- master
- stable
jobs:
check:
name: Cargo test on Ubuntu
runs-on: ubuntu-22.04
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@b173b6ec0100793626c2d9e6b90435061f4fc3e5 # 0.11.0
with:
access_token: ${{ github.token }}
- name: Checkout sources
uses: actions/[email protected]
with:
fetch-depth: 50
submodules: 'recursive'
- name: Install system dependancies
run: |
sudo apt update
sudo apt install -y clang libclang-dev libopencv-dev
- name: Install Rust stable toolchain
uses: actions-rs/[email protected]
with:
profile: minimal
toolchain: stable
override: true
- name: Install cargo-nextest
uses: baptiste0928/cargo-install@30f432979e99f3ea66a8fa2eede53c07063995d8 # v2.1.0
with:
crate: cargo-nextest
version: 0.9
- name: Install uniffi_bindgen
uses: actions-rs/[email protected]
with:
crate: uniffi_bindgen
version: 0.22.0 # Must be in sync with version in Cargo.toml
use-tool-cache: true
- name: Rust Cache
uses: Swatinem/rust-cache@b8a6852b4f997182bdea832df3f9e153038b5191 # v2.6.0
with:
workspaces: rust -> rust/target
- name: cargo nextest
run: |
cd rust
cargo nextest run --retries 2 --locked
cargo nextest run --no-default-features --features active --retries 2 --locked
cargo nextest run --no-default-features --retries 2 --locked