Skip to content

chore: run the tests in CI #1

chore: run the tests in CI

chore: run the tests in CI #1

Workflow file for this run

name: check
on:
push:
branches:
- main
pull_request:
jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- run: rustup show
- run: rustup component add rustfmt
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "true"
- run: rustup show
- uses: Swatinem/rust-cache@v2
- name: Run Rust tests
run: |
cargo test