Skip to content

Bump mio from 0.8.5 to 0.8.11 #75

Bump mio from 0.8.5 to 0.8.11

Bump mio from 0.8.5 to 0.8.11 #75

Workflow file for this run

name: Tests
on:
push:
branches: master
pull_request: {}
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Deps
run: sudo apt update && sudo apt install -y pkg-config libudev-dev
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
- uses: Swatinem/rust-cache@v1
#- uses: actions-rs/cargo@v1
# with:
# command: install
# args: cargo-nextest
- uses: actions-rs/cargo@v1
with:
command: test
# args: run --all
clippy:
runs-on: ubuntu-latest
steps:
- name: Deps
run: sudo apt update && sudo apt install -y pkg-config libudev-dev
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
profile: minimal
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: clippy
args: --all -- -D warnings
rustfmt:
runs-on: ubuntu-latest
steps:
- name: Deps
run: sudo apt update && sudo apt install -y pkg-config libudev-dev
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: rustfmt
override: true
profile: minimal
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check