From 93e87e0207848d70523ca8e5da87388ef1becb3c Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 12 Sep 2021 17:37:39 +0200 Subject: [PATCH] github: setup cachix build --- .github/workflows/cachix.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/cachix.yaml diff --git a/.github/workflows/cachix.yaml b/.github/workflows/cachix.yaml new file mode 100644 index 0000000..59b842f --- /dev/null +++ b/.github/workflows/cachix.yaml @@ -0,0 +1,20 @@ +name: "Cachix build" +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: cachix/install-nix-action@v13 + with: + install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install + install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' + extra_nix_config: | + experimental-features = nix-command flakes + - uses: cachix/cachix-action@v10 + with: + name: alarsyo + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - run: | + nix build --verbose