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:
parent
1bac4fd767
commit
b77e4125ee
4 changed files with 13 additions and 0 deletions
|
@ -3,6 +3,9 @@ name: test nix/build
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.forgejo/workflows/nix-build.yaml'
|
||||
- 'build/**'
|
||||
|
||||
jobs:
|
||||
nix/build:
|
||||
|
|
|
@ -3,6 +3,9 @@ name: test nix/develop
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.forgejo/workflows/nix-develop.yaml'
|
||||
- 'develop/**'
|
||||
|
||||
jobs:
|
||||
nix/develop:
|
||||
|
|
|
@ -3,6 +3,9 @@ name: test nix/install
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.forgejo/workflows/nix-install.yaml'
|
||||
- 'install/**'
|
||||
|
||||
jobs:
|
||||
nix/install:
|
||||
|
|
|
@ -3,6 +3,10 @@ name: test nix/shell
|
|||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '.forgejo/workflows/nix-shell.yaml'
|
||||
- 'develop/bin/nix-develop'
|
||||
- 'build/**'
|
||||
|
||||
jobs:
|
||||
nix/shell:
|
||||
|
|
Loading…
Reference in a new issue