Skip to content

test(ci): add workflow #5

test(ci): add workflow

test(ci): add workflow #5

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install toolchain
run: rustup show
- uses: Swatinem/rust-cache@v2
- name: Run cargo clippy
run: cargo clippy -- -D warnings
- name: Run cargo test
run: cargo test
- name: Run cargo fmt
run: rustup update nightly && rustup run nightly cargo fmt -- --check