stash/.github/workflows/nix-cache.yaml
dependabot[bot] f50e59fb20
build(deps): bump cachix/cachix-action from 14 to 16
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 14 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v14...v16)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-version: '16'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-20 11:04:49 +00:00

28 lines
580 B
YAML

name: "Populate cachix cache"
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths: [ 'src/**.rs', 'Cargo.toml', 'Cargo.lock', 'nix/package.nix' ]
permissions:
contents: read
jobs:
populate-cache:
runs-on: ubuntu-latest
steps:
- name: "CHeckout"
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v16
with:
name: nyx
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build