fab-city-software-kit/.gitlab-ci.yml
Sebastian Wendel d265f4fbc8
fixed pipeline
2022-07-12 17:46:36 +02:00

33 lines
526 B
YAML

---
variables:
NIX_VERSION: "2.10.0"
NIX_CONFIG: "experimental-features = nix-command flakes recursive-nix"
default:
image: nixos/nix:${NIX_VERSION}
timeout: 1 hours
before_script:
- nix profile install --inputs-from . 'nixpkgs#direnv'
- direnv allow
stages:
- test
- build
- release
- deploy
check:
stage: test
script:
- nix flake show
# lint.yaml:
# stage: test
# tags: ['lint']
# script: yamllint -f auto .
# lint.markdown:
# stage: test
# tags: ['lint']
# script: mdl .