Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashoneyman authored Aug 10, 2020
1 parent 6e27f3d commit 9d5a179
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9d5a179

Please sign in to comment.