Skip to content

fix: lint

fix: lint #9

name: Ratatui-Termion
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- uses: actions-rs/cargo@v1
with:
command: test
args: --no-fail-fast --no-default-features --features derive,serialize,ratatui,termion
- name: Examples
run: cargo build --all-targets --no-default-features --features derive,serialize,ratatui,termion --examples
- name: Format
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --lib --no-default-features --features derive,serialize,ratatui,termion -- -Dwarnings