mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-11-28 00:11:10 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [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/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
542 B
YAML
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.2
|
|
|
|
- uses: cachix/cachix-action@v16
|
|
with:
|
|
name: nyx
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
- run: ${{ inputs.command }}
|