Skip to content

Add a GitHub action to run the tests #3

Add a GitHub action to run the tests

Add a GitHub action to run the tests #3

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Install Rust prerequisites
run: sudo apt update && sudo apt install -y curl build-essential pkg-config
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: clippy
rustflags: '' # Use .cargo/config
- uses: actions/checkout@v3
- run: cargo test --locked --release
- run: cargo check --locked --release
- run: cargo clippy --locked --release
- run: cargo build --locked --release