Skip to content

Add a readme, license, and GH workflow #1

Add a readme, license, and GH workflow

Add a readme, license, and GH workflow #1

Workflow file for this run

name: Master
on:
push:
branches: [master]
pull_request:
branches: [master]
env:
CARGO_TERM_COLOR: always
jobs:
check-test-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install latest nightly rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: false
components: rustfmt
- name: Assert project compiles
run: cargo check --verbose
- name: Assert all tests pass
run: cargo test --verbose
- name: Assert formatting is valid
run: cargo +nightly fmt --verbose --check