Skip to content

Fix lingering cargo clippy warnings #25

Fix lingering cargo clippy warnings

Fix lingering cargo clippy warnings #25

Workflow file for this run

name: CI Checks
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
toolchain: [stable, nightly]
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Install Rust ${{ matrix.toolchain }} toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
override: true
profile: minimal
- name: Build on Rust ${{ matrix.toolchain }}
run: cargo build --color always --all-targets --features _danger-local-https
- name: Check formatting (nightly only)
if: matrix.rust == 'nightly'
run: rustup component add rustfmt && cargo fmt --all -- --check