mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-27 14:02:54 +03:00
* Simplify CI build matrix * Add quotes to GHC versions * Update tested versions of GHC in cabal file Co-authored-by: CristhianMotoche <cristhian.motoche@gmail.com>
This commit is contained in:
parent
51c2f9b550
commit
facc8b0693
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -17,22 +17,19 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest]
|
os:
|
||||||
|
- macos-latest
|
||||||
|
- ubuntu-latest
|
||||||
ghc:
|
ghc:
|
||||||
- "9.0.1"
|
- "9.0"
|
||||||
- "8.10.4"
|
- "8.10"
|
||||||
- "8.8.4"
|
|
||||||
- "8.6.5"
|
|
||||||
include:
|
|
||||||
- os: macos-latest
|
|
||||||
ghc: "9.0.1"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: haskell/actions/setup@v1
|
- uses: haskell/actions/setup@v1
|
||||||
with:
|
with:
|
||||||
ghc-version: ${{ matrix.ghc }}
|
ghc-version: ${{ matrix.ghc }}
|
||||||
cabal-version: "3.4"
|
cabal-version: "3.6"
|
||||||
- run: |
|
- run: |
|
||||||
if [ "$RUNNER_OS" == "Linux" ]
|
if [ "$RUNNER_OS" == "Linux" ]
|
||||||
then
|
then
|
||||||
@ -47,8 +44,8 @@ jobs:
|
|||||||
- run: cabal freeze
|
- run: cabal freeze
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: v1-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
|
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('*.cabal', 'cabal.project.freeze') }}
|
||||||
restore-keys: v1-${{ runner.os }}-${{ matrix.ghc }}-
|
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
|
||||||
path: |
|
path: |
|
||||||
~/.cabal/packages
|
~/.cabal/packages
|
||||||
~/.cabal/store
|
~/.cabal/store
|
||||||
|
@ -28,7 +28,7 @@ homepage: https://github.com/stackbuilders/hapistrano
|
|||||||
bug-reports: https://github.com/stackbuilders/hapistrano/issues
|
bug-reports: https://github.com/stackbuilders/hapistrano/issues
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
cabal-version: >=1.18
|
cabal-version: >=1.18
|
||||||
tested-with: GHC==8.6.5, GHC==8.8.4, GHC==8.10.4, GHC==9.0.1
|
tested-with: GHC==8.10.17, GHC==9.0.2
|
||||||
extra-source-files: CHANGELOG.md
|
extra-source-files: CHANGELOG.md
|
||||||
, README.md
|
, README.md
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user