Skip to content

ci(nix): check develop on linux and mac #1537

ci(nix): check develop on linux and mac

ci(nix): check develop on linux and mac #1537

Workflow file for this run

name: Lints
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths-ignore:
- '*.md'
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cargo Format
run: scripts/lint-fmt
clippy:
name: Clippy
needs: fmt
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Rust Cache (custom)
uses: actions/cache@v3
continue-on-error: false
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/registry/src/**/librocksdb-sys-*
~/.cargo/git/db/
target/
key: custom-rust-clippy-${{ hashFiles('**/Cargo.lock') }}
restore-keys: custom-rust-clippy-
- name: Cargo Clippy
run: scripts/lint-clippy