Skip to content

Commit

Permalink
Prepare release 0.3.16.2.
Browse files Browse the repository at this point in the history
Use new .github workflows.
Restore import statement for liftA2 to fix build for GHC 9.4.
  • Loading branch information
brianjosephmckeon authored Feb 7, 2024
1 parent 277d03b commit bfedcbb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions bytebuild.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -28,6 +28,7 @@ maintainer: [email protected]
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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions test/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

import Prelude hiding (replicate)

-- liftA2 is needed by GHC 9.4
import Control.Applicative (liftA2)

Check warning on line 12 in test/Main.hs

View workflow job for this annotation

GitHub Actions / call-workflow / build

The import of ‘Control.Applicative’ is redundant
import Control.Monad.ST (runST)
import Data.Bytes.Builder
import Data.Bytes.Builder.Template (bldr)
Expand Down

0 comments on commit bfedcbb

Please sign in to comment.