diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index def8792..39f49a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,7 +50,6 @@ jobs: uses: actions/cache@v3 with: path: | - ~/.cabal/package ~/.cabal/store dist-newstyle key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }} diff --git a/README.md b/README.md index 9e9a31f..eb449b5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build](https://github.com/stackbuilders/hapistrano/actions/workflows/build.yml/badge.svg)](https://github.com/stackbuilders/hapistrano/actions/workflows/build.yml) +[![Build](https://github.com/stackbuilders/hapistrano/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/stackbuilders/hapistrano/actions/workflows/build.yml) [![Draft](https://github.com/stackbuilders/hapistrano/actions/workflows/draft.yml/badge.svg)](https://github.com/stackbuilders/hapistrano/actions/workflows/draft.yml) [![Release](https://github.com/stackbuilders/hapistrano/actions/workflows/release.yml/badge.svg)](https://github.com/stackbuilders/hapistrano/actions/workflows/release.yml) diff --git a/spec/System/HapistranoSpec.hs b/spec/System/HapistranoSpec.hs index fa8effe..83aa94f 100644 --- a/spec/System/HapistranoSpec.hs +++ b/spec/System/HapistranoSpec.hs @@ -261,7 +261,7 @@ spec = do (runHap $ do let task = mkTask deployPath repoPath noCmd = Nothing - rs <- replicateM 5 (Hap.pushRelease task) + replicateM_ 5 (Hap.pushRelease task) Hap.rollback currentSystem deployPath 6 noCmd) `shouldThrow` anyException describe "dropOldReleases" $ do