nyxexprs/.github/workflows/nix.yml
raf 5b7385dd9b
Some checks are pending
Build / Find uncached packages (push) Waiting to run
Build / build-uncached (push) Blocked by required conditions
Run Checks / check (NIXPKGS_ALLOW_INSECURE=1 nix flake check --accept-flake-config --impure) (push) Waiting to run
Run Checks / check (nix run .#alejandra-custom -- -c . -e ./npins) (push) Waiting to run
Run Checks / build (push) Blocked by required conditions
Nix / nix (push) Waiting to run
Merge pull request #18 from NotAShelf/dependabot/github_actions/actions/checkout-6
build(deps): bump actions/checkout from 5 to 6
2025-11-24 07:46:19 +03:00

30 lines
542 B
YAML

name: Nix
on:
workflow_call:
inputs:
command:
required: true
type: string
secrets:
CACHIX_AUTH_TOKEN:
required: false
permissions:
contents: read
id-token: write
jobs:
nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: "Install Nix"
uses: cachix/install-nix-action@v31.8.4
- uses: cachix/cachix-action@v16
with:
name: nyx
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: ${{ inputs.command }}