Skip to content

Clippy fixes

Clippy fixes #112

Workflow file for this run

name: "CI"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: cargo fmt -- --check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
- name: Build
run: cargo build --verbose
- name: Run tests (rust-crypto)
run: cargo test --verbose --no-default-features --features rust-crypto
- name: Run tests (ring)
run: cargo test --verbose