From 9a4ade5f48970e990bc4b2cd89797133046064aa Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 23 Jan 2026 14:07:37 +0800 Subject: [PATCH 1/2] chore: bump GH action versions --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 201cb16..9fce88a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,12 +11,12 @@ jobs: runs-on: ubuntu-latest name: Haskell GHC steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - uses: haskell-actions/setup@v2 with: enable-stack: true stack-no-global: true - - uses: actions/cache@v4 + - uses: actions/cache@v5 with: path: | ~/.stack From f4f40bfcfae4e3def2651dcbf550ac5cc81f3423 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 23 Jan 2026 14:09:32 +0800 Subject: [PATCH 2/2] build with Cabal-3.12 to try to unbreak the cron job stackage-server-cron: Unable to parse cabal file from package webdriver-precore-0.2.0.1@sha256:2c644f12cb915bd6491da97af448bb74270cdcee8260f4a39f11c7594b6153c4,7407 (from Hackage) - 0:0: Unsupported cabal-version 3.12. See https://github.com/haskell/cabal/issues/4899. <= error from Cabal The cabal file uses the cabal specification version 3.12, but we only support up to version 3.8. Recommended action: upgrade your build tool (e.g., `stack upgrade`). The last two lines are from pantry --- stack.yaml | 8 ++++++++ stack.yaml.lock | 14 ++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/stack.yaml b/stack.yaml index fff6c83..43fbf55 100644 --- a/stack.yaml +++ b/stack.yaml @@ -24,10 +24,18 @@ extra-deps: - github: brendanhay/amazonka commit: '85e0289f8dc23c54b00f7f1a09845be7e032a1eb' subdirs: [lib/amazonka-core] +- Cabal-3.12.1.0 +- Cabal-syntax-3.12.1.0 allow-newer: true allow-newer-deps: - pantry + - postgresql-libpq + - hackage-security nix: shell-file: shell.nix + +flags: + postgresql-libpq: + use-pkg-config: true diff --git a/stack.yaml.lock b/stack.yaml.lock index 115b33f..d28a342 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -35,6 +35,20 @@ packages: original: subdir: lib/amazonka-core url: https://github.com/brendanhay/amazonka/archive/85e0289f8dc23c54b00f7f1a09845be7e032a1eb.tar.gz +- completed: + hackage: Cabal-3.12.1.0@sha256:08be296ddd941b3f9be4bd125fbb3e6857f5c707b8d10464f6f1d30c91ca3e5f,13551 + pantry-tree: + sha256: a509c8164a9682e2cbd080ef8446164fbe11a9c5c0f88b61f41094a8167e6a04 + size: 11798 + original: + hackage: Cabal-3.12.1.0 +- completed: + hackage: Cabal-syntax-3.12.1.0@sha256:6dbb06fb08ff77520947fb4c1ef281c9cea5b8dc7fd9a41ad62273fa916cf4b2,7407 + pantry-tree: + sha256: 62e4b1bbdf7fe7d5259f45811e6fd0131823a10a8ec8c5eaf25370d444ac263a + size: 11051 + original: + hackage: Cabal-syntax-3.12.1.0 snapshots: - completed: sha256: 08bd13ce621b41a8f5e51456b38d5b46d7783ce114a50ab604d6bbab0d002146