Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new .github workflows. #37

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 / 9.6.3 on ubuntu-latest

The import of ‘Control.Applicative’ is redundant

Check warning on line 12 in test/Main.hs

View workflow job for this annotation

GitHub Actions / call-workflow / 9.8.1 on ubuntu-latest

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