diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 91da25315c..40c37ad659 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -3,7 +3,7 @@ name: Nix builds on: push: branches: - - phated/** + - master schedule: - cron: "0 2 * * *" # run at 2 AM UTC workflow_dispatch: @@ -32,6 +32,11 @@ jobs: nix_path: nixpkgs=channel:nixos-22.11 github_access_token: ${{ secrets.GITHUB_TOKEN }} + - uses: cachix/cachix-action@v12 + with: + name: barretenberg + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: Check nix flake run: | nix flake check