From 4159276b0a64faacab94d6c9c862e206d349d23b Mon Sep 17 00:00:00 2001 From: Jordan Mackie Date: Mon, 30 Nov 2020 16:22:18 +0000 Subject: [PATCH] Add note (to self) about CI caching --- .github/workflows/ci.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2cbc5d3..60a1bbc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,6 +5,11 @@ on: branches: - master +# NOTE: on caching +# We could cache `cabal` stuff as well as Nix stuff, but CI runs are currently +# around 4-5 minutes and aren't running that often. So it's probably not worth +# the effort (for now, at least). + jobs: build-test-check: strategy: @@ -34,6 +39,7 @@ jobs: # path: "~/.cabal" # key: "${{ matrix.os }}-${{ matrix.ghc }}-${{ hashFiles('kesha.cabal') }}" - # TODO: cachix the ghc builds coming from this? - name: Run ci.sh run: "nix-shell --argstr compiler ${{ matrix.compiler }} --arg dev false --run ./ci.sh" + # ^^^^ + # cachix the ghc builds coming from this?