ci: speed up on no-op
This commit is contained in:
parent
674a107750
commit
e3e24d749f
2 changed files with 9 additions and 1 deletions
2
.github/workflows/nix.yml
vendored
2
.github/workflows/nix.yml
vendored
|
@ -12,4 +12,4 @@ jobs:
|
||||||
extraPullNames: nixpkgs-update
|
extraPullNames: nixpkgs-update
|
||||||
name: nix-community
|
name: nix-community
|
||||||
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
|
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
- run: nix-build
|
- run: ./ci.sh
|
||||||
|
|
8
ci.sh
Executable file
8
ci.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# Run this command to reproduce CI
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
out=$(nix-build nix -A nix-build-uncached)
|
||||||
|
|
||||||
|
"$out/bin/nix-build-uncached"
|
Loading…
Add table
Add a link
Reference in a new issue