fix: allow flake binary cache and substituters

This commit is contained in:
Youwen Wu 2024-08-16 14:50:41 -07:00 committed by Ananth Venkatesh
parent e96156a936
commit cc418491bc

View file

@ -6,13 +6,13 @@ jobs:
tests: tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25 - uses: cachix/install-nix-action@v25
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14 - uses: cachix/cachix-action@v14
with: with:
name: suntheme name: suntheme
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix build - run: nix build --accept-flake-config
- run: nix develop - run: nix develop