diff --git a/.github/workflows/haskell.yml b/.github/workflows/ci.yml similarity index 68% rename from .github/workflows/haskell.yml rename to .github/workflows/ci.yml index 5b8d43a..542336d 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/ci.yml @@ -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-haskell@v1.1.2 + - 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: | @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index cb7fb01..7dae6a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 1.1.0.1 + +- Support for `ghc`s through 9.10.1. + + # 1.1 - Support for `random` 1.2. diff --git a/fused-effects-random.cabal b/fused-effects-random.cabal index e5ffc9f..40b76ac 100644 --- a/fused-effects-random.cabal +++ b/fused-effects-random.cabal @@ -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