1
0
Fork 0
mirror of https://git.madhouse-project.org/actions/nix.git synced 2024-11-23 12:09:16 +01:00

ci: Restrict workflows to paths that matter for them

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
Gergely Nagy 2023-09-22 22:14:43 +02:00
parent 1bac4fd767
commit b77e4125ee
4 changed files with 13 additions and 0 deletions

View file

@ -3,6 +3,9 @@ name: test nix/build
on:
push:
paths:
- '.forgejo/workflows/nix-build.yaml'
- 'build/**'
jobs:
nix/build:

View file

@ -3,6 +3,9 @@ name: test nix/develop
on:
push:
paths:
- '.forgejo/workflows/nix-develop.yaml'
- 'develop/**'
jobs:
nix/develop:

View file

@ -3,6 +3,9 @@ name: test nix/install
on:
push:
paths:
- '.forgejo/workflows/nix-install.yaml'
- 'install/**'
jobs:
nix/install:

View file

@ -3,6 +3,10 @@ name: test nix/shell
on:
push:
paths:
- '.forgejo/workflows/nix-shell.yaml'
- 'develop/bin/nix-develop'
- 'build/**'
jobs:
nix/shell: