Some checks failed
Build / ubuntu-latest (push) Failing after 5s
Build / Android (push) Failing after 2s
Build / Code coverage (push) Failing after 2s
Lint / format (push) Failing after 3s
Lint / clippy (push) Failing after 3s
Build / macOS-latest (push) Has been cancelled
Build / windows-latest (push) Has been cancelled
26 lines
610 B
YAML
26 lines
610 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v6.0.0
|
|
hooks:
|
|
- id: trailing-whitespace
|
|
- id: end-of-file-fixer
|
|
- id: check-toml
|
|
- id: check-yaml
|
|
- id: check-merge-conflict
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: cargo-fmt
|
|
name: cargo fmt
|
|
entry: cargo fmt --all -- --check
|
|
language: system
|
|
types: [rust]
|
|
pass_filenames: false
|
|
|
|
- id: cargo-clippy
|
|
name: cargo clippy
|
|
entry: cargo clippy --workspace -- -D warnings
|
|
language: system
|
|
types: [rust]
|
|
pass_filenames: false
|