Skip to content

Merge pull request #32 from movemntdev/l-monninger-patch-1 #32

Merge pull request #32 from movemntdev/l-monninger-patch-1

Merge pull request #32 from movemntdev/l-monninger-patch-1 #32

Workflow file for this run

name: Cargo Check
on:
push:
branches:
- main
jobs:
check:
runs-on:
labels: movement-runner
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.69.0
- name: Cache cargo registry
uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v2
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v2
with:
path: ./m1/target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Run Cargo Check
working-directory: ./m1
run: RUSTFLAGS="--cfg tokio_unstable" cargo check