Skip to content

Commit bfedcbb

Browse files
authoredFeb 7, 2024··
Prepare release 0.3.16.2.
Use new .github workflows. Restore import statement for liftA2 to fix build for GHC 9.4.
1 parent 277d03b commit bfedcbb

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed
 

‎.github/workflows/build.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66

77
jobs:
88
call-workflow:
9-
uses: byteverse/.github/.github/workflows/build.yaml@main
10-
secrets: inherit
9+
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main
1110
with:
12-
release: false
11+
cabal-file: bytebuild.cabal

‎.github/workflows/release.yaml

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@ on:
66

77
jobs:
88
call-workflow:
9-
uses: byteverse/.github/.github/workflows/build.yaml@main
9+
uses: byteverse/.github/.github/workflows/release.yaml@main
1010
secrets: inherit
11-
with:
12-
release: true

‎CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Note: Prior to version 0.3.4.0, this library was named
55
`small-bytearray-builder` is now just a compatibility shim
66
to ease the migration process.
77

8+
## 0.3.16.2 -- 2024-02-06
9+
10+
* Restore import statement for `liftA2` to fix build for GHC 9.4.
11+
812
## 0.3.16.1 -- 2024-02-02
913

1014
* Remove all CPP

‎bytebuild.cabal

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.2
22
name: bytebuild
3-
version: 0.3.16.1
3+
version: 0.3.16.2
44
synopsis: Build byte arrays
55
description:
66
This is similar to the builder facilities provided by
@@ -28,6 +28,7 @@ maintainer: amartin@layer3com.com
2828
copyright: 2019 Andrew Martin
2929
category: Data
3030
extra-doc-files: CHANGELOG.md
31+
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
3132

3233
common build-settings
3334
default-language: Haskell2010
@@ -94,7 +95,6 @@ test-suite test
9495
type: exitcode-stdio-1.0
9596
hs-source-dirs: test common
9697
main-is: Main.hs
97-
ghc-options: -O2
9898
other-modules:
9999
HexWord64
100100
Word16Tree

‎test/Main.hs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
import Prelude hiding (replicate)
1010

11+
-- liftA2 is needed by GHC 9.4
12+
import Control.Applicative (liftA2)
1113
import Control.Monad.ST (runST)
1214
import Data.Bytes.Builder
1315
import Data.Bytes.Builder.Template (bldr)

0 commit comments

Comments
 (0)
Please sign in to comment.