nix-config/templates/rust-cargo/.woodpecker/check.yml

32 lines
535 B
YAML
Raw Normal View History

2023-05-10 15:04:06 +02:00
labels:
backend: local
steps:
- name: pre-commit check
image: bash
commands:
- nix develop --command pre-commit run --all
- name: nix flake check
image: bash
commands:
- nix flake check
2024-06-19 20:52:10 +02:00
- name: notify
2023-05-10 15:04:06 +02:00
image: bash
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
commands:
- nix run github:ambroisie/matrix-notifier
when:
status:
- failure
- success