mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-06-06 00:14:58 -06:00
Some checks are pending
Build / Build and Test ${{ matrix.channel }} (msrv) (push) Waiting to run
Build / Build and Test ${{ matrix.channel }} (rust-toolchain) (push) Waiting to run
Check templates / Validate docker templates (push) Waiting to run
Hadolint / Validate Dockerfile syntax (push) Waiting to run
Release / Build Vaultwarden containers (amd64, alpine) (push) Waiting to run
Release / Build Vaultwarden containers (amd64, debian) (push) Waiting to run
Release / Build Vaultwarden containers (arm/v6, alpine) (push) Waiting to run
Release / Build Vaultwarden containers (arm/v6, debian) (push) Waiting to run
Release / Build Vaultwarden containers (arm/v7, alpine) (push) Waiting to run
Release / Build Vaultwarden containers (arm/v7, debian) (push) Waiting to run
Release / Build Vaultwarden containers (arm64, alpine) (push) Waiting to run
Release / Build Vaultwarden containers (arm64, debian) (push) Waiting to run
Release / Merge manifests (alpine) (push) Blocked by required conditions
Release / Merge manifests (debian) (push) Blocked by required conditions
Trivy / Trivy Scan (push) Waiting to run
Code Spell Checking / Run typos spell checking (push) Waiting to run
Security Analysis with zizmor / Run zizmor (push) Waiting to run
- Updated Rust to v1.96.0 - Updated all the crates, and adjusted code where needed - Fixed some nightly reported clippy lints - Updated all the GitHub actions Signed-off-by: BlackDex <black.dex@gmail.com>
61 lines
1.9 KiB
YAML
61 lines
1.9 KiB
YAML
---
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0
|
|
hooks:
|
|
- id: check-yaml
|
|
- id: check-json
|
|
- id: check-toml
|
|
- id: mixed-line-ending
|
|
args: [ "--fix=no" ]
|
|
- id: end-of-file-fixer
|
|
exclude: "(.*js$|.*css$)"
|
|
- id: check-case-conflict
|
|
- id: check-merge-conflict
|
|
- id: detect-private-key
|
|
- id: check-symlinks
|
|
- id: forbid-submodules
|
|
|
|
# When this version is updated, do not forget to update this in `.github/workflows/typos.yaml` too
|
|
- repo: https://github.com/crate-ci/typos
|
|
rev: 37bb98842b0d8c4ffebdb75301a13db0267cef89 # v1.47.2
|
|
hooks:
|
|
- id: typos
|
|
|
|
- repo: local
|
|
hooks:
|
|
- id: fmt
|
|
name: fmt
|
|
description: Format files with cargo fmt.
|
|
entry: cargo fmt
|
|
language: system
|
|
always_run: true
|
|
pass_filenames: false
|
|
args: [ "--", "--check" ]
|
|
- id: cargo-test
|
|
name: cargo test
|
|
description: Test the package for errors.
|
|
entry: cargo test
|
|
language: system
|
|
args: [ "--features", "sqlite,mysql,postgresql", "--" ]
|
|
types_or: [ rust, file ]
|
|
files: (Cargo.toml|Cargo.lock|rust-toolchain.toml|rustfmt.toml|.*\.rs$)
|
|
pass_filenames: false
|
|
- id: cargo-clippy
|
|
name: cargo clippy
|
|
description: Lint Rust sources
|
|
entry: cargo clippy
|
|
language: system
|
|
args: [ "--features", "sqlite,mysql,postgresql", "--", "-D", "warnings" ]
|
|
types_or: [ rust, file ]
|
|
files: (Cargo.toml|Cargo.lock|rust-toolchain.toml|rustfmt.toml|.*\.rs$)
|
|
pass_filenames: false
|
|
- id: check-docker-templates
|
|
name: check docker templates
|
|
description: Check if the Docker templates are updated
|
|
language: system
|
|
entry: sh
|
|
args:
|
|
- "-c"
|
|
- "cd docker && make"
|