Skip to content

ci: add github workflow to release and lint crate #3

ci: add github workflow to release and lint crate

ci: add github workflow to release and lint crate #3

Workflow file for this run

name: Rust Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Run cargo check
run: cargo check
- name: Run cargo clippy
run: cargo clippy -- -D warnings