Skip to content

Rework CI

Rework CI #1239

name: "(Optional) Nix dev env, Linux, main"
on:
pull_request:
push:
branches:
- master
schedule:
- cron: "45 03 * * *"
env:
cachixAccount: "hnix-store"
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
jobs:
build:
name: "Default"
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: "Git checkout"
uses: actions/checkout@v4
with:
submodules: recursive
- name: "Install Nix"
uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: "Install Cachix"
uses: cachix/cachix-action@v12
with:
name: ${{ env.cachixAccount }}
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: "Determined Nix-build"
run: nix-build