31 lines
522 B
YAML
31 lines
522 B
YAML
name: Check config
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
build:
|
|
env:
|
|
RUNNER_TOOL_CACHE: /toolcache
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Install nix
|
|
uses: DeterminateSystems/nix-installer-action@main
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Check flake
|
|
run: nix flake check
|
|
|
|
- name: Notify routine
|
|
run: |
|
|
curl\
|
|
-H "Title: [Routine] Flake checked"
|