nix-config/templates/c++-cmake/.woodpecker/check.yml
Bruno BELANYI 6539471186
All checks were successful
ci/woodpecker/push/check Pipeline was successful
templates: use explicit 'pre-commit check' CI step
2024-02-16 23:00:57 +00:00

32 lines
519 B
YAML

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
- 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