TODO: find out if I can use the `cargoLock` FOD to run `clippy`.
This commit is contained in:
parent
694c0224d3
commit
9caee54f2b
7 changed files with 167 additions and 0 deletions
31
templates/rust/.woodpecker/check.yml
Normal file
31
templates/rust/.woodpecker/check.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue