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:
|
2024-02-17 00:00:57 +01:00
|
|
|
- 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
|
|
|
|
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
|