Skip to content

[Libp2p] File-backed Kademlia store (#3934) #2660

[Libp2p] File-backed Kademlia store (#3934)

[Libp2p] File-backed Kademlia store (#3934) #2660

Workflow file for this run

name: Build with Nix Workflow
on:
push:
branches:
- 'develop'
- 'main'
- 'nix*'
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ (github.ref == 'refs/heads/main' && github.run_number) || github.ref }}
cancel-in-progress: true
jobs:
nix-build:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Nix Caching
uses: cachix/cachix-action@v15
with:
name: espresso-systems-private
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: ${{ github.actor == 'dependabot[bot]' }}
- name: Enable Rust Cache
uses: Swatinem/rust-cache@v2
with:
shared-key: "nix-build"
# sanity check that repository builds with nix
- name: Initialize Nix Environment
run: |
nix develop -c echo Nix Setup Complete
# sanity check that repository builds with nix
- name: Build
run: |
nix develop -c just build