From 9d5a17974aadf656266988ac186694ed3f7b860f Mon Sep 17 00:00:00 2001 From: Thomas Honeyman Date: Mon, 10 Aug 2020 13:01:41 -0700 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb35cc6..5e0a68a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,20 +8,16 @@ jobs: steps: - uses: actions/checkout@v2 - - uses: thomashoneyman/setup-purescript@main - - - name: Spago cache + - name: Setup PureScript toolchain + uses: thomashoneyman/setup-purescript@main + + - name: Cache PureScript dependencies uses: actions/cache@v2 with: - path: .spago key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }} - restore-keys: ${{ runner.os }}-spago- - - - name: Pre-compiled cache - uses: actions/cache@v2 - with: - path: output - key: ${{ runner.os }}-output-${{ hashFiles('**/*.dhall') }} + path: | + .spago + output - run: spago build