Skip to content

enable flutter tests across repository #62

enable flutter tests across repository

enable flutter tests across repository #62

Workflow file for this run

name: πŸ¦€ Rust CI
on:
push:
# paths:
# - rust/**
# - .github/workflows/rust-ci.yml
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
format:
name: "πŸ—’οΈ Validate format"
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup component add rustfmt
- run: cargo fmt --check --verbose
working-directory: rust
test:
name: "πŸ§ͺ Run test"
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo test --verbose
working-directory: rust
build:
name: "πŸ”¨ Run build"
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
os:
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
working-directory: rust