chore: adds fmt and clippy checks on ci and fixes #1381
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: run | |
on: | |
push: | |
branches: [main] | |
tags: | |
- 'v*' | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
jobs: | |
test: | |
name: unit-tests | |
strategy: | |
matrix: | |
platform: [macos-latest, ubuntu-22.04-github-hosted-16core] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Install Rust | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
with: | |
toolchain: nightly-2024-08-01 | |
- name: Install cargo-nextest | |
run: cargo install cargo-nextest | |
- name: Run tests | |
run: cargo nextest run |