Skip to content

Merge pull request #9 from svieujot/main #70

Merge pull request #9 from svieujot/main

Merge pull request #9 from svieujot/main #70

Workflow file for this run

name: Tests
on:
push:
branches:
- "**"
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- name: Run tests
run: cargo test --all-features --locked
- name: Install tools
run: rustup component add clippy rustfmt
- name: Clippy
run: cargo clippy
- name: Cargo fmt
run: cargo fmt --all -- --check