chore: Update CI (#211)

* fix: Typo on cabal packages

* force run

* fix: Follow suggestion

* chore: Get status from master branch

* chore: Remove cabal packages from cache
This commit is contained in:
Cristhian Motoche 2023-02-11 17:21:57 -05:00 committed by GitHub
parent d4ebd86db5
commit 49e66cde51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -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') }}

View File

@ -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)

View File

@ -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