Compare commits
4 Commits
6fe5bb6d60
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 3af62b2ab8 | |||
|
a9efa652ef
|
|||
|
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
|
||||||
18
.woodpecker/code_tests.yaml
Normal file
18
.woodpecker/code_tests.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
when:
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
steps:
|
||||||
|
- name: Clippy linter
|
||||||
|
image: rust:1.91.1-bullseye
|
||||||
|
commands:
|
||||||
|
- rustup component add clippy
|
||||||
|
- cargo clippy
|
||||||
|
- name: Rust fmt
|
||||||
|
image: rust:1.91.1-bullseye
|
||||||
|
commands:
|
||||||
|
- rustup component add rustfmt
|
||||||
|
- cargo fmt --check
|
||||||
|
- 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"
|
||||||
7
Cargo.lock
generated
Normal file
7
Cargo.lock
generated
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# This file is automatically @generated by Cargo.
|
||||||
|
# It is not intended for manual editing.
|
||||||
|
version = 4
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "termix"
|
||||||
|
version = "0.1.0"
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
# termix
|
# termix
|
||||||
|
[](https://ci.badhouseplants.net/repos/19)
|
||||||
|
|||||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user