Skip to content

Merge pull request #42 from DeterminateSystems/dependabot/cargo/h2-0.… #81

Merge pull request #42 from DeterminateSystems/dependabot/cargo/h2-0.…

Merge pull request #42 from DeterminateSystems/dependabot/cargo/h2-0.… #81

Workflow file for this run

name: Rust checks
on:
pull_request:
push:
branches: [main]
jobs:
checks:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check health of flake.lock
uses: DeterminateSystems/flake-checker-action@main
with:
fail-mode: true
- name: Check Rust formatting
run: nix develop --command cargo fmt --check
- name: Clippy
run: nix develop --command cargo clippy