-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from rickowens/pr
feat: Fix false-renegade bug. ...
- Loading branch information
Showing
7 changed files
with
373 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
on: [push] | ||
name: Haskell Builds | ||
jobs: | ||
build: | ||
name: Haskell Build | ||
runs-on: ubuntu-latest # or macOS-latest, or windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ghc-version: | ||
- '9.4' | ||
- '9.6' | ||
- '9.8' | ||
cabal-version: ['3.10.2.0'] | ||
steps: | ||
# Checkout | ||
- uses: actions/checkout@v3 | ||
|
||
# Setup | ||
- name: Setup Haskell | ||
uses: haskell-actions/setup@v2 | ||
id: setup | ||
if: steps.tooling-cache.outputs.cache-hit != 'true' | ||
with: | ||
ghc-version: ${{ matrix.ghc-version }} | ||
cabal-version: ${{ matrix.cabal-version }} | ||
|
||
# Generate Plan | ||
- name: Configure the Build | ||
run: | | ||
rm cabal.project.freeze | ||
cabal configure --enable-tests | ||
cabal build --dry-run | ||
# Restore cache | ||
- name: Restore cached dependencies | ||
uses: actions/cache/restore@v3 | ||
id: cache | ||
env: | ||
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }} | ||
with: | ||
path: ${{ steps.setup.outputs.cabal-store }} | ||
key: ${{ env.key }}-plan-${{ hashFiles('**/plan.json') }} | ||
|
||
# Build deps (for caching) | ||
- name: Cabal build dependencies | ||
run: cabal build all --only-dependencies | ||
|
||
# Save dependency cache | ||
- name: Save cache | ||
uses: actions/cache/save@v3 | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
with: | ||
path: ${{ steps.setup.outputs.cabal-store }} | ||
key: ${{ steps.cache.outputs.cache-primary-key }} | ||
|
||
# Cabal build | ||
- name: Cabal Bulid | ||
run: | | ||
cabal build all | ||
# Cabal tests | ||
- name: Cabal Test | ||
run: | | ||
cabal test all | ||
build-lower-bounds: | ||
name: Haskell Build (lower bounds) | ||
runs-on: ubuntu-latest # or macOS-latest, or windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ghc-version: ['9.0.2'] | ||
cabal-version: ['3.8.1.0'] | ||
steps: | ||
# Checkout | ||
- uses: actions/checkout@v3 | ||
|
||
# Setup | ||
- name: Setup Haskell | ||
uses: haskell-actions/setup@v2 | ||
id: setup | ||
if: steps.tooling-cache.outputs.cache-hit != 'true' | ||
with: | ||
ghc-version: ${{ matrix.ghc-version }} | ||
cabal-version: ${{ matrix.cabal-version }} | ||
|
||
# Generate Plan | ||
- name: Configure the Build | ||
run: | | ||
(cat << EOF | ||
packages: . | ||
constraints: | ||
aeson == 2.0.3.0, | ||
base == 4.15.1.0, | ||
binary == 0.8.8.0, | ||
bytestring == 0.10.12.1, | ||
containers == 0.6.4.1, | ||
data-default-class == 0.1.2.0, | ||
data-dword == 0.3.2.1, | ||
exceptions == 0.10.4, | ||
hspec == 2.8.5, | ||
monad-logger == 0.3.36, | ||
mtl == 2.2.2, | ||
transformers == 0.5.6.2 | ||
EOF | ||
) > cabal.project | ||
rm cabal.project.freeze | ||
cabal configure --enable-tests | ||
cabal build --dry-run | ||
# Restore cache | ||
- name: Restore cached dependencies | ||
uses: actions/cache/restore@v3 | ||
id: cache | ||
env: | ||
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }} | ||
with: | ||
path: ${{ steps.setup.outputs.cabal-store }} | ||
key: ${{ env.key }}-plan-${{ hashFiles('**/plan.json') }} | ||
|
||
# Build deps (for caching) | ||
- name: Cabal build dependencies | ||
run: cabal build all --only-dependencies | ||
|
||
# Save dependency cache | ||
- name: Save cache | ||
uses: actions/cache/save@v3 | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
with: | ||
path: ${{ steps.setup.outputs.cabal-store }} | ||
key: ${{ steps.cache.outputs.cache-primary-key }} | ||
|
||
# Cabal Build | ||
- name: Cabal Bulid | ||
run: cabal build all | ||
|
||
# Cabal Test | ||
- name: Cabal Test | ||
run: cabal test all | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/.stack-work | ||
/stack.yaml.lock | ||
/dist-newstyle | ||
/cabal.project.local | ||
/.tags.lock | ||
/tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,138 +1,140 @@ | ||
active-repositories: owensmurray:merge, hackage.haskell.org:merge | ||
active-repositories: hackage.haskell.org:merge, owensmurray:merge | ||
constraints: any.HUnit ==1.6.2.0, | ||
any.OneTuple ==0.3.1, | ||
any.QuickCheck ==2.14.2, | ||
any.OneTuple ==0.4.1.1, | ||
any.QuickCheck ==2.14.3, | ||
QuickCheck -old-random +templatehaskell, | ||
any.StateVar ==1.2.2, | ||
any.aeson ==2.0.3.0, | ||
aeson -cffi +ordered-keymap, | ||
any.ansi-terminal ==0.11.3, | ||
any.aeson ==2.2.1.0, | ||
aeson +ordered-keymap, | ||
any.ansi-terminal ==1.0, | ||
ansi-terminal -example, | ||
any.array ==0.5.4.0, | ||
any.assoc ==1.0.2, | ||
any.async ==2.2.4, | ||
any.ansi-terminal-types ==0.11.5, | ||
any.array ==0.5.6.0, | ||
any.assoc ==1.1, | ||
assoc +tagged, | ||
any.async ==2.2.5, | ||
async -bench, | ||
any.attoparsec ==0.14.4, | ||
attoparsec -developer, | ||
any.auto-update ==0.1.6, | ||
any.base ==4.15.1.0, | ||
any.base-compat ==0.12.2, | ||
any.base-compat-batteries ==0.12.2, | ||
any.base-orphans ==0.8.7, | ||
any.bifunctors ==5.5.12, | ||
bifunctors +semigroups +tagged, | ||
any.binary ==0.8.8.0, | ||
any.bitvec ==1.1.3.0, | ||
bitvec -libgmp, | ||
any.bytestring ==0.10.12.1, | ||
any.base ==4.19.0.0, | ||
any.base-orphans ==0.9.1, | ||
any.bifunctors ==5.6.1, | ||
bifunctors +tagged, | ||
any.binary ==0.8.9.1, | ||
any.bitvec ==1.1.5.0, | ||
bitvec +simd, | ||
any.bytestring ==0.12.0.2, | ||
any.call-stack ==0.4.0, | ||
any.clock ==0.8.3, | ||
clock -llvm, | ||
any.colour ==2.3.6, | ||
any.comonad ==5.0.8, | ||
comonad +containers +distributive +indexed-traversable, | ||
any.conduit ==1.3.4.2, | ||
any.conduit ==1.3.5, | ||
any.conduit-extra ==1.3.6, | ||
any.containers ==0.6.4.1, | ||
any.containers ==0.6.8, | ||
any.contravariant ==1.5.5, | ||
contravariant +semigroups +statevar +tagged, | ||
any.data-bword ==0.1.0.2, | ||
any.data-default-class ==0.1.2.0, | ||
any.data-dword ==0.3.2.1, | ||
any.data-fix ==0.3.2, | ||
any.deepseq ==1.4.5.0, | ||
any.directory ==1.3.6.2, | ||
any.deepseq ==1.5.0.0, | ||
any.directory ==1.3.8.1, | ||
any.distributive ==0.6.2.1, | ||
distributive +semigroups +tagged, | ||
any.dlist ==1.0, | ||
dlist -werror, | ||
any.easy-file ==0.2.2, | ||
any.exceptions ==0.10.4, | ||
any.fast-logger ==3.1.1, | ||
any.filepath ==1.4.2.1, | ||
any.ghc-bignum ==1.1, | ||
any.ghc-boot-th ==9.0.2, | ||
any.ghc-prim ==0.7.0, | ||
any.hashable ==1.4.1.0, | ||
hashable +containers +integer-gmp -random-initial-seed, | ||
any.hsc2hs ==0.68.8, | ||
any.easy-file ==0.2.5, | ||
any.exceptions ==0.10.7, | ||
any.fast-logger ==3.2.2, | ||
any.filepath ==1.4.100.4, | ||
any.generically ==0.1.1, | ||
any.ghc-bignum ==1.3, | ||
any.ghc-boot-th ==9.8.1, | ||
any.ghc-prim ==0.11.0, | ||
any.hashable ==1.4.3.0, | ||
hashable +integer-gmp -random-initial-seed, | ||
any.haskell-lexer ==1.1.1, | ||
any.hsc2hs ==0.68.10, | ||
hsc2hs -in-ghc-tree, | ||
any.hspec ==2.8.5, | ||
any.hspec-core ==2.8.5, | ||
any.hspec-discover ==2.8.5, | ||
any.hspec-expectations ==0.8.2, | ||
any.indexed-traversable ==0.1.2, | ||
any.indexed-traversable-instances ==0.1.1.1, | ||
any.hspec ==2.11.7, | ||
any.hspec-core ==2.11.7, | ||
any.hspec-discover ==2.11.7, | ||
any.hspec-expectations ==0.8.4, | ||
any.indexed-traversable ==0.1.3, | ||
any.indexed-traversable-instances ==0.1.1.2, | ||
any.integer-conversion ==0.1.0.1, | ||
any.integer-logarithms ==1.0.3.1, | ||
integer-logarithms -check-bounds +integer-gmp, | ||
any.lifted-base ==0.2.3.12, | ||
any.monad-control ==1.0.3.1, | ||
any.monad-logger ==0.3.37, | ||
any.monad-logger ==0.3.40, | ||
monad-logger +template_haskell, | ||
any.monad-loops ==0.4.3, | ||
monad-loops +base4, | ||
any.mono-traversable ==1.0.15.3, | ||
any.mtl ==2.2.2, | ||
any.network ==3.1.2.7, | ||
any.mtl ==2.3.1, | ||
any.network ==3.1.4.0, | ||
network -devel, | ||
any.network-uri ==2.6.4.2, | ||
any.old-locale ==1.0.0.7, | ||
any.old-time ==1.1.0.3, | ||
any.old-time ==1.1.0.4, | ||
any.parsec ==3.1.17.0, | ||
any.pretty ==1.1.3.6, | ||
any.primitive ==0.7.4.0, | ||
any.process ==1.6.13.2, | ||
any.primitive ==0.9.0.0, | ||
any.process ==1.6.18.0, | ||
any.quickcheck-io ==0.2.0, | ||
any.random ==1.2.1.1, | ||
any.resourcet ==1.2.6, | ||
any.resourcet ==1.3.0, | ||
any.rts ==1.0.2, | ||
any.scientific ==0.3.7.0, | ||
scientific -bytestring-builder -integer-simple, | ||
any.semialign ==1.2.0.1, | ||
any.semialign ==1.3, | ||
semialign +semigroupoids, | ||
any.semigroupoids ==5.3.7, | ||
any.semigroupoids ==6.0.0.1, | ||
semigroupoids +comonad +containers +contravariant +distributive +tagged +unordered-containers, | ||
any.setenv ==0.1.1.3, | ||
any.split ==0.2.3.5, | ||
any.splitmix ==0.1.0.4, | ||
any.split ==0.2.5, | ||
any.splitmix ==0.1.0.5, | ||
splitmix -optimised-mixer, | ||
any.stm ==2.5.0.0, | ||
any.stm-chans ==3.0.0.6, | ||
any.streaming-commons ==0.2.2.4, | ||
any.stm ==2.5.2.1, | ||
any.stm-chans ==3.0.0.9, | ||
any.streaming-commons ==0.2.2.6, | ||
streaming-commons -use-bytestring-builder, | ||
any.strict ==0.4.0.1, | ||
strict +assoc, | ||
any.tagged ==0.8.6.1, | ||
any.strict ==0.5, | ||
any.tagged ==0.8.8, | ||
tagged +deepseq +transformers, | ||
any.template-haskell ==2.17.0.0, | ||
any.text ==1.2.5.0, | ||
any.template-haskell ==2.21.0.0, | ||
any.text ==2.1, | ||
any.text-iso8601 ==0.1, | ||
any.text-short ==0.1.5, | ||
text-short -asserts, | ||
any.tf-random ==0.5, | ||
any.th-abstraction ==0.4.4.0, | ||
any.these ==1.1.1.1, | ||
these +assoc, | ||
any.time ==1.9.3, | ||
any.th-abstraction ==0.6.0.0, | ||
any.th-compat ==0.1.4, | ||
any.these ==1.2, | ||
any.time ==1.12.2, | ||
any.time-compat ==1.9.6.1, | ||
time-compat -old-locale, | ||
any.transformers ==0.5.6.2, | ||
any.transformers ==0.6.1.0, | ||
any.transformers-base ==0.4.6, | ||
transformers-base +orphaninstances, | ||
any.transformers-compat ==0.7.2, | ||
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two, | ||
any.typed-process ==0.2.10.1, | ||
any.unix ==2.7.2.2, | ||
any.unix-compat ==0.6, | ||
any.typed-process ==0.2.11.1, | ||
any.unix ==2.8.3.0, | ||
any.unix-compat ==0.7.1, | ||
unix-compat -old-time, | ||
any.unix-time ==0.4.8, | ||
any.unliftio-core ==0.2.0.1, | ||
any.unordered-containers ==0.2.19.1, | ||
any.unix-time ==0.4.11, | ||
any.unliftio-core ==0.2.1.0, | ||
any.unordered-containers ==0.2.20, | ||
unordered-containers -debug, | ||
any.uuid-types ==1.0.5, | ||
any.vector ==0.13.0.0, | ||
any.uuid-types ==1.0.5.1, | ||
any.vector ==0.13.1.0, | ||
vector +boundschecks -internalchecks -unsafechecks -wall, | ||
any.vector-algorithms ==0.9.0.1, | ||
vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks, | ||
any.vector-stream ==0.1.0.0, | ||
any.vector-stream ==0.1.0.1, | ||
any.witherable ==0.4.2, | ||
any.zlib ==0.6.3.0, | ||
zlib -bundled-c-zlib -non-blocking-ffi -pkg-config | ||
index-state: hackage.haskell.org 2022-09-08T23:38:22Z | ||
index-state: hackage.haskell.org 2024-01-11T22:50:14Z |
Oops, something went wrong.