Skip to content

Merge pull request #1 from KeystoneHQ/feat/0.3.2 #2

Merge pull request #1 from KeystoneHQ/feat/0.3.2

Merge pull request #1 from KeystoneHQ/feat/0.3.2 #2

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Version
run: cargo --version
- name: Format
run: cargo fmt -- --check
- name: Install cargo-sort-ck
run: cargo install cargo-sort-ck
- name: Check sorted dependencies
run: cargo sort-ck
- name: Check README is up-to-date
run: cargo install cargo-rdme && cargo rdme --check
- name: Check
run: cargo check --locked
- name: Clippy
run: cargo clippy --all --all-targets --all-features -- -Dwarnings -D clippy::pedantic -D clippy::dbg-macro -D clippy::indexing-slicing -A clippy::missing-panics-doc
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Lint fuzz
working-directory: ./fuzz
run: |
cargo fmt -- --check
cargo sort-ck
cargo check
cargo clippy --all --all-targets --all-features -- -Dwarnings -D clippy::pedantic -D clippy::dbg-macro -D clippy::indexing-slicing -A clippy::missing-panics-doc