configuration.nix/.forgejo/workflows/check.yml

21 lines
528 B
YAML
Raw Normal View History

2024-06-08 22:28:27 +02:00
on: [push]
jobs:
check:
runs-on: nixos
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: nix --version
- run: nix flake check --keep-going --verbose
2024-06-08 22:28:27 +02:00
build:
runs-on: nixos
strategy:
matrix:
2024-06-08 22:41:09 +02:00
target:
- docs
- nvim
- nixosConfigurations.vm.config.system.build.toplevel
2024-06-08 22:28:27 +02:00
steps:
- uses: https://code.forgejo.org/actions/checkout@v4
- run: nix --version
2024-06-08 22:41:09 +02:00
- run: nix build --print-build-logs '.#${{ matrix.target }}'