Skip to content

Fix/suppress warnings with Rust 1.80.1 #473

Fix/suppress warnings with Rust 1.80.1

Fix/suppress warnings with Rust 1.80.1 #473

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: 'Build and test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Build
run: cargo build --verbose
- name: Test
run: cargo test
formatting:
name: 'Check formatting'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- name: Check formatting
run: cargo fmt --all -- --check
clippy:
name: 'Check lints'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get Rust stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Check lints
run: cargo clippy --all-targets --all