From 842157ee1b6644dda474efeff5537d1e45c485fe Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Tue, 30 Aug 2022 13:18:35 +0800 Subject: [PATCH] added `devShell` build to `ci-cachix.yml` --- .github/workflows/ci-cachix.yml | 19 ++++++++++++++++++- .prettierignore | 1 + 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cachix.yml b/.github/workflows/ci-cachix.yml index f197e7c4..ca00408b 100644 --- a/.github/workflows/ci-cachix.yml +++ b/.github/workflows/ci-cachix.yml @@ -13,7 +13,7 @@ on: - epic-reducer-project jobs: - flake: + flake-packages: runs-on: ubuntu-latest steps: @@ -46,3 +46,20 @@ jobs: run: nix build .#components - name: Check that components bundles run: nix build .#components-bundle + + flake-devshells: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v3 + - name: Install nix + uses: cachix/install-nix-action@v17 + with: + nix_path: nixpkgs=channel:nixos-22.05 + - name: Use cachix + uses: cachix/cachix-action@v10 + with: + name: quantified-uncertainty + authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" + - name: Build devshell + run: nix develop -c echo "built devshell" diff --git a/.prettierignore b/.prettierignore index 7bbb5874..ba58d386 100644 --- a/.prettierignore +++ b/.prettierignore @@ -13,3 +13,4 @@ packages/squiggle-lang/src/rescript/Reducer/Reducer_Peggy/Reducer_Peggy_Generate packages/vscode-ext/media/vendor/ packages/squiggle-lang/.nyc_output/ packages/*/dist +result