nix-config/templates/c++-meson/.woodpecker/check.yml

32 lines
536 B
YAML
Raw Normal View History

2023-04-04 18:21:05 +02:00
labels:
2024-02-16 23:56:44 +01:00
backend: local
2023-04-04 18:21:05 +02:00
2023-11-18 21:17:18 +01:00
steps:
- name: pre-commit check
image: bash
commands:
- nix develop --command pre-commit run --all
2023-04-04 18:21:05 +02:00
- name: nix flake check
image: bash
commands:
- nix flake check
- name: notifiy
image: bash
2024-04-01 23:26:21 +02:00
environment:
ADDRESS:
from_secret: matrix_homeserver
ROOM:
from_secret: matrix_roomid
USER:
from_secret: matrix_username
PASS:
from_secret: matrix_password
2023-04-04 18:21:05 +02:00
commands:
- nix run github:ambroisie/matrix-notifier
2023-04-04 18:21:05 +02:00
when:
status:
- failure
- success