Skip to content

Add GitHub actions testing workflow #9

Add GitHub actions testing workflow

Add GitHub actions testing workflow #9

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
paths:
- '**.rs'
- '**/Cargo.*'
- '.github/workflows/**.yml'
jobs:
test:
name: Test
runs-on: arc-runner-set
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
- run: cargo fmt --all --check
- run: cargo test --workspace --all-features
- run: cargo clippy --workspace --all-targets --all-features -- -Dwarnings