Skip to content

Allow to use io-classes-1.7 #54

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

Merged
merged 2 commits into from
Aug 30, 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
20 changes: 8 additions & 12 deletions .github/workflows/github-page.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Haddock documentation"
name: Haddocks

on:
schedule:
Expand All @@ -7,7 +7,7 @@ on:

jobs:
haddocks:
name: "Haddocks"
name: Haddocks

runs-on: ${{ matrix.os }}

Expand All @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ghc: ["9.4.4"]
ghc: ["9.10"]
os: [ubuntu-latest]

permissions:
Expand All @@ -31,20 +31,16 @@ jobs:

steps:
- name: Checkout ouroboros-network repository
uses: actions/checkout@v3

# we need nix to later build the spec documents
- name: Install Nix
uses: cachix/install-nix-action@v20
uses: actions/checkout@v4

- name: Install Haskell
uses: haskell/actions/setup@v2
uses: haskell-actions/setup@v2
id: setup-haskell
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.10.1.0'
cabal-version: 'head'

- uses: actions/cache@v3
- uses: actions/cache@v4
name: Cache cabal store
with:
path: ${{ steps.setup-haskell.outputs.cabal-store }}
Expand All @@ -62,7 +58,7 @@ jobs:
cabal haddock-project --hackage all

- name: Upload artifacts
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./haddocks

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]

env:
CABAL_VERSION: "3.10.1.0"
CABAL_VERSION: "3.12.1.0"

defaults:
run:
Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ env.CABAL_VERSION }}

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: "Configure cabal.project.local"
run: |
Expand All @@ -68,14 +68,14 @@ jobs:
cat dist-newstyle/cache/plan.json | jq -r '."install-plan"[].id' | sort | uniq > dependencies.txt
echo "weeknum=$(/bin/date -u "+%W")" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
name: "Cache cabal store"
with:
path: ${{ runner.os == 'Windows' && steps.win-setup-haskell.outputs.cabal-store || steps.setup-haskell.outputs.cabal-store }}
key: cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('dependencies.txt') }}
restore-keys: cache-dependencies-${{ env.CACHE_VERSION }}-${{ runner.os }}-${{ matrix.ghc }}

- uses: actions/cache@v3
- uses: actions/cache@v4
name: "Cache `dist-newstyle`"
with:
path: |
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
run: |
echo "$HOME/.cabal/bin" >> $GITHUB_PATH

- uses: actions/cache@v3
- uses: actions/cache@v4
name: "Cache `stylish-haskell`"
with:
path: ~/.cabal/bin/stylish-haskell
Expand All @@ -144,7 +144,7 @@ jobs:
which stylish-haskell
stylish-haskell --version

- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: "Run `stylish-haskell`"
run: |
Expand Down
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository cardano-haskell-packages
d4a35cd3121aa00d18544bb0ac01c3e1691d618f462c46129271bccf39f7e8ee

index-state:
hackage.haskell.org 2024-08-27T07:58:31Z
hackage.haskell.org 2024-08-27T18:06:30Z
, cardano-haskell-packages 2024-06-27T10:53:24Z

packages: ./typed-protocols
Expand Down
2 changes: 1 addition & 1 deletion typed-protocols/typed-protocols.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ library
, TypeOperators
, BangPatterns
build-depends: base,
io-classes ^>= 1.6
io-classes ^>= 1.7

hs-source-dirs: src
default-language: Haskell2010
Expand Down
Loading