Skip to content

Commit

Permalink
Add note (to self) about CI caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Mackie committed Nov 30, 2020
1 parent d358ab6 commit 4159276
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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?

0 comments on commit 4159276

Please sign in to comment.