mirror of
https://github.com/stackbuilders/hapistrano.git
synced 2024-12-26 13:01:29 +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 }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
os:
|
||||
- macos-latest
|
||||
- ubuntu-latest
|
||||
ghc:
|
||||
- "9.0.1"
|
||||
- "8.10.4"
|
||||
- "8.8.4"
|
||||
- "8.6.5"
|
||||
include:
|
||||
- os: macos-latest
|
||||
ghc: "9.0.1"
|
||||
- "9.0"
|
||||
- "8.10"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: haskell/actions/setup@v1
|
||||
with:
|
||||
ghc-version: ${{ matrix.ghc }}
|
||||
cabal-version: "3.4"
|
||||
cabal-version: "3.6"
|
||||
- run: |
|
||||
if [ "$RUNNER_OS" == "Linux" ]
|
||||
then
|
||||
@ -47,8 +44,8 @@ jobs:
|
||||
- run: cabal freeze
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
key: v1-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
|
||||
restore-keys: v1-${{ runner.os }}-${{ matrix.ghc }}-
|
||||
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('*.cabal', 'cabal.project.freeze') }}
|
||||
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
|
||||
path: |
|
||||
~/.cabal/packages
|
||||
~/.cabal/store
|
||||
|
@ -28,7 +28,7 @@ homepage: https://github.com/stackbuilders/hapistrano
|
||||
bug-reports: https://github.com/stackbuilders/hapistrano/issues
|
||||
build-type: Simple
|
||||
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
|
||||
, README.md
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user