48546bb730
* flake.lock: Update Flake lock file updates: • Updated input 'nixos-infra': 'github:NixOS/infra/5e2b57f9a5bc43b9fd3eb822caaa7ddf0448b2b3?narHash=sha256-BiZudUcdFCpW9d8IXiPHXhKP1vTVqcDrQRtd/dLr7n0%3D' (2024-06-04) → 'github:NixOS/infra/ca11a27e5609a152b5e9d9293c4ea99e9234d9e6?narHash=sha256-%2BlOSTU8TjJZvNpcqANrTYarIdrMo4eUTYW1/CLWJ0No%3D' (2024-06-15) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/051f920625ab5aabe37c920346e3e69d7d34400e?narHash=sha256-4q0s6m0GUcN7q%2BY2DqD27iLvbcd1G50T2lv08kKxkSI%3D' (2024-06-07) → 'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420?narHash=sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY%3D' (2024-06-13) * ci: bump actions --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
24 lines
685 B
YAML
24 lines
685 B
YAML
name: Setup Environment
|
|
inputs:
|
|
GITHUB_TOKEN:
|
|
required: true
|
|
description: "GitHub access token used to prevent GitHub's rate limit for unauthenticated requests"
|
|
CACHIX_SIGNING_KEY: # determines what node version to install
|
|
required: true
|
|
description: 'Cachix Signing Key'
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
|
|
- name: Installing Nix
|
|
uses: cachix/install-nix-action@v27
|
|
with:
|
|
nix_path: nixpkgs=channel:nixpkgs-unstable
|
|
extra_nix_config: |
|
|
access-tokens = github.com=${{ inputs.GITHUB_TOKEN }}
|
|
|
|
- uses: cachix/cachix-action@v15
|
|
with:
|
|
name: nixos-search
|
|
signingKey: '${{ inputs.CACHIX_SIGNING_KEY }}'
|