diff --git a/README.md b/README.md index 3de26b7..8a185cf 100644 --- a/README.md +++ b/README.md @@ -69,27 +69,27 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: purescript-contrib/setup-purescript@main - name: Cache PureScript dependencies - uses: actions/cache@v2 - # This cache uses the .dhall files to know when it should reinstall + uses: actions/cache@v4 + # This cache uses the spago.lock files to know when it should reinstall # and rebuild packages. It caches both the installed packages from # the `.spago` directory and compilation artifacts from the `output` # directory. When restored the compiler will rebuild any files that # have changed. If you do not want to cache compiled output, remove # the `output` path. with: - key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }} + key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock') }} path: | .spago output - run: spago build - - run: spago test --no-install + - run: spago test --offline ``` ## Development