Skip to content

Commit

Permalink
update simple-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed May 13, 2024
1 parent 5076914 commit 4807215
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.19.20240514
# version: 0.19.20240513
#
# REGENDATA ("0.19.20240514",["github","postgresql-libpq.cabal"])
# REGENDATA ("0.19.20240513",["github","postgresql-libpq.cabal"])
#
name: Haskell-CI
on:
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
echo " ghc-options: -Werror=missing-methods" >> cabal.project
cat >> cabal.project <<EOF
EOF
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: any.$_ installed\n" unless /^(postgresql-libpq)$/; }' >> cabal.project.local
$HCPKG list --simple-output --names-only | perl -ne 'for (split /\s+/) { print "constraints: $_ installed\n" unless /^(postgresql-libpq)$/; }' >> cabal.project.local
cat cabal.project
cat cabal.project.local
- name: dump install plan
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest]
ghc: ['8.10','9.0','9.2','9.4.8','9.6.3','9.8.1']
ghc: ['8.10','9.0','9.2','9.4.8','9.6.5','9.8.2']
fail-fast: false
timeout-minutes:
60
Expand All @@ -26,24 +26,24 @@ jobs:
- name: Set up Haskell
id: setup-haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.10.2.0'

- name: Set up PostgreSQL
uses: ikalnytskyi/action-setup-postgres@v3
uses: ikalnytskyi/action-setup-postgres@v6
id: postgres
with:
username: ci
password: sw0rdfish
database: test

- name: Checkout
uses: actions/checkout@v3.0.2
uses: actions/checkout@v4

- name: Cache
uses: actions/cache@v2.1.3
uses: actions/cache@v4
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
Expand Down

0 comments on commit 4807215

Please sign in to comment.