mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-23 19:46:23 +03:00
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:
parent
d4ebd86db5
commit
49e66cde51
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -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') }}
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user