fix(ci): Don't run nix check when no nix files have changed

This commit is contained in:
Jalil David Salamé Messina 2024-01-14 19:30:10 +01:00
parent d56b740017
commit 042b10abb8
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 5 additions and 2 deletions

View file

@ -1,6 +1,9 @@
name: Check flake name: Check flake
on: on:
push: push:
path:
- ./**.nix
- ./flake.lock
pull_request: pull_request:
schedule: schedule:
- cron: 5 4 * * 5 # At 04:05 on Friday. - cron: 5 4 * * 5 # At 04:05 on Friday.

View file

@ -12,8 +12,8 @@ on:
# Module options # Module options
- ./options.nix - ./options.nix
# Nix files # Nix files
- flake.lock - ./flake.lock
- flake.nix - ./flake.nix
jobs: jobs:
build-website: build-website: