Skip to content

Merge pull request #40 from omnia-network/chore/update-dependencies #29

Merge pull request #40 from omnia-network/chore/update-dependencies

Merge pull request #40 from omnia-network/chore/update-dependencies #29

Workflow file for this run

name: Rust tests
# only run when a commit is pushed to the main branch
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
rust-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- uses: ./.github/actions/setup-rust
with:
cache-key: "build-native"
- name: Cargo fmt
run: cargo fmt -- --check
- name: Cargo clippy
run: cargo clippy --all --all-features -- -Dwarnings
- name: Run unit tests
run: ./scripts/unit_test.sh