Skip to content

Remove dead code

Remove dead code #47

Workflow file for this run

name: Rust CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install rust stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy
- name: Check package
uses: actions-rs/cargo@v1
with:
command: check
args: --workspace --verbose
- name: Build package
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose
- name: Check format
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check --verbose
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test