nix-config/templates/rust/.woodpecker/check.yml
Bruno BELANYI 9caee54f2b
Some checks failed
ci/woodpecker/push/check Pipeline failed
WIP: templates: add rust
TODO: find out if I can use the `cargoLock` FOD to run `clippy`.
2023-05-10 13:19:13 +00:00

31 lines
512 B
YAML

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