Skip to content

Build with Nix Workflow #1497

Build with Nix Workflow

Build with Nix Workflow #1497

Workflow file for this run

name: Build with Nix Workflow
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: styfle/[email protected]
name: Cancel Outdated Builds
with:
all_but_latest: true
access_token: ${{ github.token }}
- name: Install Nix
uses: cachix/install-nix-action@v23
- name: Nix Caching
uses: cachix/cachix-action@v12
with:
name: espresso-systems-private
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Checkout Repository
uses: actions/checkout@v4
# See how long just nix setup takes
- name: Initialize nix
run: nix develop -c echo Finished
# sanity check that repository builds with nix
- name: Build
run: nix develop -c just async_std build