Skip to content

Update dependencies #14

Update dependencies

Update dependencies #14

Workflow file for this run

name: Code checks
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
SQLX_OFFLINE: true
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- name: Enforce formatting
run: cargo fmt --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- name: Linting
run: cargo clippy -- -D warnings