Skip to content

Commit

Permalink
Use new .github workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjosephmckeon committed Feb 6, 2024
1 parent ba785df commit 9b073f6
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 15 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: base62.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
21 changes: 13 additions & 8 deletions base62.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,15 @@ 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
ghc-options: -Wall -Wunused-packages

library
exposed-modules: Data.Word.Base62
import: build-settings
exposed-modules: Data.Word.Base62
build-depends:
, base >=4.17 && <5
, bytebuild >=0.3.4 && <0.4
Expand All @@ -26,15 +32,14 @@ library
, text-short >=0.1.5 && <0.2
, wide-word >=0.1.0.8 && <0.2

hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -O2
hs-source-dirs: src
ghc-options: -O2

test-suite test
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
import: build-settings
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
, base >=4.12.0.0 && <5
, base62
Expand Down
2 changes: 1 addition & 1 deletion test/Main.hs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{-# LANGUAGE LambdaCase #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

import Control.Applicative (liftA2)
-- import Control.Applicative (liftA2)
import Data.Bits ((.&.))
import Data.Char (chr)
import Data.Primitive (ByteArray)
Expand Down

0 comments on commit 9b073f6

Please sign in to comment.