Skip to content

Commit

Permalink
Merge pull request #7 from fused-effects/1.1.0.1
Browse files Browse the repository at this point in the history
1.1.0.1
  • Loading branch information
robrix authored Oct 4, 2024
2 parents 62ca67a + 9b99c02 commit 8ef2a74
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/haskell.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,45 @@
name: Haskell CI

on: [pull_request]
on:
pull_request:
branches:
- "**"
push:
branches:
- "main"

jobs:
build:
name: ghc ${{ matrix.ghc }}
runs-on: ubuntu-16.04
runs-on: ubuntu-latest
strategy:
matrix:
ghc: ["8.2.2", "8.4.4", "8.6.5", "8.8.3", "8.10.1"]
cabal: ["latest"]
ghc: ["8.2", "8.4", "8.6", "8.8", "8.10", "9.0", "9.2", "9.4", "9.6", "9.8", "9.10"]

steps:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/main'

- uses: actions/setup[email protected]
- uses: haskell-actions/setup@v2
name: Setup Haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}

- uses: actions/cache@v1
- uses: actions/cache@v2
name: Cache ~/.cabal/packages
with:
path: ~/.cabal/packages
key: ${{ runner.os }}-${{ matrix.ghc }}-cabal-packages
- uses: actions/cache@v1
- uses: actions/cache@v2
name: Cache ~/.cabal/store
with:
path: ~/.cabal/store
key: ${{ runner.os }}-${{ matrix.ghc }}-cabal-store
- uses: actions/cache@v1
- uses: actions/cache@v2
name: Cache dist-newstyle
with:
path: dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}-fused-effects-random-dist
key: ${{ runner.os }}-${{ matrix.ghc }}-repo-dist

- name: Install dependencies
run: |
Expand All @@ -46,7 +50,7 @@ jobs:
- name: Build & test
run: |
cabal v2-build --project-file=cabal.project.ci
# cabal v2-run --project-file=cabal.project.ci test
# cabal v2-run --project-file=cabal.project.ci fresnel:test
cabal v2-haddock --project-file=cabal.project.ci
cabal v2-sdist --project-file=cabal.project.ci
cabal check
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.1.0.1

- Support for `ghc`s through 9.10.1.


# 1.1

- Support for `random` 1.2.
Expand Down
2 changes: 1 addition & 1 deletion fused-effects-random.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 3.0

name: fused-effects-random
version: 1.1.0.0
version: 1.1.0.1
synopsis: Random number generation for fused-effects.
description: Random number generation as an effect using fused-effects.
homepage: https://github.com/fused-effects/fused-effects-random
Expand Down

0 comments on commit 8ef2a74

Please sign in to comment.