Prepare release 0.3.16.2.

Use new .github workflows.
Restore import statement for liftA2 to fix build for GHC 9.4.
This commit is contained in:
Brian McKeon 2024-02-06 19:15:26 -05:00 committed by GitHub
parent 277d03b475
commit bfedcbbabc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 8 deletions

View file

@ -6,7 +6,6 @@ on:
jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/build.yaml@main
secrets: inherit
uses: byteverse/.github/.github/workflows/build-matrix.yaml@main
with:
release: false
cabal-file: bytebuild.cabal

View file

@ -6,7 +6,5 @@ on:
jobs:
call-workflow:
uses: byteverse/.github/.github/workflows/build.yaml@main
uses: byteverse/.github/.github/workflows/release.yaml@main
secrets: inherit
with:
release: true

View file

@ -5,6 +5,10 @@ Note: Prior to version 0.3.4.0, this library was named
`small-bytearray-builder` is now just a compatibility shim
to ease the migration process.
## 0.3.16.2 -- 2024-02-06
* Restore import statement for `liftA2` to fix build for GHC 9.4.
## 0.3.16.1 -- 2024-02-02
* Remove all CPP

View file

@ -1,6 +1,6 @@
cabal-version: 2.2
name: bytebuild
version: 0.3.16.1
version: 0.3.16.2
synopsis: Build byte arrays
description:
This is similar to the builder facilities provided by
@ -28,6 +28,7 @@ maintainer: amartin@layer3com.com
copyright: 2019 Andrew Martin
category: Data
extra-doc-files: CHANGELOG.md
tested-with: GHC ==9.4.8 || ==9.6.3 || ==9.8.1
common build-settings
default-language: Haskell2010
@ -94,7 +95,6 @@ test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test common
main-is: Main.hs
ghc-options: -O2
other-modules:
HexWord64
Word16Tree

View file

@ -8,6 +8,8 @@
import Prelude hiding (replicate)
-- liftA2 is needed by GHC 9.4
import Control.Applicative (liftA2)
import Control.Monad.ST (runST)
import Data.Bytes.Builder
import Data.Bytes.Builder.Template (bldr)