Skip to content

Commit

Permalink
finalise caching logic
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysarson committed Apr 5, 2021
1 parent c4f1f69 commit e4b6c0e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ jobs:
with:
node-version: "${{ matrix.node-version }}"

- name: Install elm, elm-format and cache the ELM_HOME directory
- name: Install elm, elm-test-rs
uses: mpizenberg/[email protected]
with:
cache-key: elm-home-${{ hashFiles('elm-tooling.json', 'elm.json') }}
# The global elm home is _only_ used by elm-tooling to store
# installed binaries. For testing we set up our own local elm_home
# (and clear it before each run) so we are free to cache elm home
# regardless of the packages we use for testing.
cache-key: elm-home-${{ hashFiles('elm-tooling.json') }}

- name: Run tests
run: ./tests/run-tests.sh

0 comments on commit e4b6c0e

Please sign in to comment.