Skip to content

[CI] add nix check to CI #18

[CI] add nix check to CI

[CI] add nix check to CI #18

Workflow file for this run

name: "Build nix"
on:
pull_request:
push:
branches:
- develop
- compatible
- berkeley
- releases/**
- main
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v20
- uses: DeterminateSystems/magic-nix-cache-action@v2
#- uses: cachix/cachix-action@v12
# with:
## name: mina
# authToken: 'eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiI1YjU1ZTQ3ZS0zYWUxLTQ1NjUtYWRjNC1kMjMwYTk1Y2M1YzYiLCJzY29wZXMiOiJjYWNoZSJ9.5qlAWw-hABTeJESvxhDhTmqRaQbLzbYLYkArv2g3FM0'
- run: nix/pin.sh
- run: nix build mina
env:
GIT_LFS_SKIP_SMUDGE: 1
- run: nix flake check