Compare commits
4 Commits
6959d9917a
...
0a1d68cb2d
| Author | SHA1 | Date | |
|---|---|---|---|
|
0a1d68cb2d
|
|||
|
285c4a10fd
|
|||
|
6e7b07ab28
|
|||
|
2f17df8064
|
12
.pre-commit-config.yaml
Normal file
12
.pre-commit-config.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v2.3.0
|
||||||
|
hooks:
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-merge-conflict
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: trailing-whitespace
|
||||||
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
rev: v2.4.1
|
||||||
|
hooks:
|
||||||
|
- id: codespell
|
||||||
13
.woodpecker/code_tests.yaml
Normal file
13
.woodpecker/code_tests.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
steps:
|
||||||
|
- name: Clippy linter
|
||||||
|
image: rust:1.91.1-bullseye
|
||||||
|
commands:
|
||||||
|
- rustup component add clippy
|
||||||
|
- cargo clippy
|
||||||
|
- name: Unit tests
|
||||||
|
image: rust:1.91.1-bullseye
|
||||||
|
commands:
|
||||||
|
- cargo test
|
||||||
8
.woodpecker/pre_commit_test.yaml
Normal file
8
.woodpecker/pre_commit_test.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
steps:
|
||||||
|
- name: Pre commit validation
|
||||||
|
image: codeberg.org/sp1thas/woodpecker-ci-pre-commit-runner
|
||||||
|
settings:
|
||||||
|
args: "--all-files"
|
||||||
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -162,9 +162,9 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "syn"
|
name = "syn"
|
||||||
version = "2.0.110"
|
version = "2.0.111"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "a99801b5bd34ede4cf3fc688c5919368fea4e4814a4664359503e6015b280aea"
|
checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"proc-macro2",
|
"proc-macro2",
|
||||||
"quote",
|
"quote",
|
||||||
|
|||||||
Reference in New Issue
Block a user