Skip to content

CI?

CI? #2

Workflow file for this run

name: Checks
on:
push:
branches:
- "*"
pull_request:
jobs:
build_and_test:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt clippy
- name: cache
uses: Swatinem/rust-cache@v2
- name: Cargo build
run: cargo build --locked --no-default-features # I don't want to download an ortruntime so
- name: Cargo test
run: cargo test --locked --no-default-features
- name: Rustfmt
run: cargo fmt --check
- name: Clippy
run: cargo clippy