Skip to content

chore: Bump dependency versions #70

chore: Bump dependency versions

chore: Bump dependency versions #70

Workflow file for this run

name: Clippy and Rustfmt
on:
push:
branches:
- master
pull_request:
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- name: Cache Rust toolchain
uses: Swatinem/rust-cache@v2
- name: Run rustfmt
run: cargo fmt --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Cache Rust toolchain
uses: Swatinem/rust-cache@v2
- name: Run clippy
run: cargo clippy -- -D warnings