nyxexprs/.github/workflows/nix.yml
dependabot[bot] 766169b810
build(deps): bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-18 02:08:56 +00:00

31 lines
669 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@v5
- name: Install Lix
uses: DeterminateSystems/nix-installer-action@main
with:
source-url: https://install.lix.systems/lix/lix-installer-x86_64-linux
logger: pretty
- uses: cachix/cachix-action@v16
with:
name: nyx
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: ${{ inputs.command }}