WIP: templates: add rust
Some checks failed
ci/woodpecker/push/check Pipeline failed

TODO: find out if I can use the `cargoLock` FOD to run `clippy`.
This commit is contained in:
Bruno BELANYI 2023-05-10 13:04:06 +00:00
parent 694c0224d3
commit 9caee54f2b
7 changed files with 167 additions and 0 deletions

View file

@ -0,0 +1,31 @@
labels:
type: exec
pipeline:
- name: pre-commit checks
image: bash
commands:
- nix shell . -c pre-commit run --all
- name: nix flake check
image: bash
commands:
- nix flake check
- name: notifiy
image: bash
secrets:
- source: matrix_homeserver
target: address
- source: matrix_roomid
target: room
- source: matrix_username
target: user
- source: matrix_password
target: pass
commands:
- nix run '.#matrix-notifier'
when:
status:
- failure
- success