mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-22 11:42:57 -05:00
24 lines
827 B
YAML
24 lines
827 B
YAML
# Evaluates the Nix flake (no build, about a minute): `nix build` / `nix develop` stop at evaluation
|
|
# when Cargo.lock gains something nix/package.nix can't vendor, and nothing else would notice.
|
|
name: Nix
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ["flake.nix", "flake.lock", "nix/**", "Cargo.lock", ".github/workflows/nix.yml"]
|
|
pull_request:
|
|
paths: ["flake.nix", "flake.lock", "nix/**", "Cargo.lock", ".github/workflows/nix.yml"]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: nix-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
nix:
|
|
# Intentionally tracked at @main (not SHA-pinned) so org-wide CI improvements, security fixes, and build optimizations propagate without PR churn across all craftapp repos.
|
|
uses: storytold/craft-common-actions/.github/workflows/nix.yml@main
|