1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 16:44:52 +03:00
digga/.github/workflows/check.yml
David Arnold 02d8feb01d fix: add back digga lib checks
This would have catched 2a696ebeb8 (r53008224)
2022-02-23 15:23:14 -08:00

35 lines
1.2 KiB
YAML

name: "Check & Cachix"
on:
push:
branches:
- core
- trying
- staging
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
with:
submodules: true
- uses: cachix/install-nix-action@v13
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20210415_76980a1/install
extra_nix_config: |
experimental-features = nix-command flakes
system-features = nixos-test benchmark big-parallel kvm recursive-nix
substituters = https://nrdxp.cachix.org https://nix-community.cachix.org https://cache.nixos.org
trusted-public-keys = nrdxp.cachix.org-1:Fc5PSqY2Jm1TrWfm88l6cvGWwz3s93c6IOifQWnhNW4= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
# Quick eval
- run: nix develop --command evalnix
# Check the digga library
- run: nix flake check --show-trace
# Check /examples/*
- run: nix develop --command -- check-downstream --show-trace
- run: nix develop --command -- check-groupByConfig --show-trace