https://docs.gitlab.com/ee/user/application_security/secret_detection/pipeline/index.html Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
24 lines
360 B
YAML
24 lines
360 B
YAML
stages:
|
|
- build
|
|
- test
|
|
|
|
cache: &global_cache
|
|
key:
|
|
files:
|
|
- flake.lock
|
|
- flake.nix
|
|
paths:
|
|
- /nix/store
|
|
policy: pull-push
|
|
|
|
build:
|
|
image: nixos/nix
|
|
stage: build
|
|
cache:
|
|
<<: *global_cache
|
|
script:
|
|
- nix --experimental-features 'nix-command flakes' flake check
|
|
|
|
include:
|
|
- template: Jobs/Secret-Detection.gitlab-ci.yml
|