From d942dc1098a7d516982c751ce51296dc96f30262 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Thu, 8 Apr 2021 04:05:49 +0200 Subject: [PATCH] ci: setup cachix build --- .github/workflows/cachix.yaml | 19 +++++++++++++++++++ 1 file changed, 19 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..3edb139 --- /dev/null +++ b/.github/workflows/cachix.yaml @@ -0,0 +1,19 @@ +name: "Cachix build" +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.4 + - uses: cachix/install-nix-action@v13 + with: + install_url: https://nixos-nix-install-tests.cachix.org/serve/lb41az54kzk6j12p81br4bczary7m145/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@v8 + with: + name: alarsyo + authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' + - run: | + nix build --verbose