Skip to content

Commit

Permalink
ghc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
echatav committed Mar 19, 2024
1 parent f665023 commit 2157aac
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ dev ]

jobs:
ghc9_0:
ghc_default:
runs-on: ubuntu-latest

services:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
".stack-work"
"/root/.stack/"
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
ghc8_10:
ghc9_6:
runs-on: ubuntu-latest

services:
Expand All @@ -81,10 +81,10 @@ jobs:
stack-setup-ghc: true

- name: build
run: stack build --fast --stack-yaml stack-ghc8_10.yaml
run: stack build --fast --stack-yaml stack-ghc9_6.yaml

- name: test
run: stack test --fast --stack-yaml stack-ghc8_10.yaml
run: stack test --fast --stack-yaml stack-ghc9_6.yaml
env:
PG_USER: postgres
PG_HOST: localhost
Expand All @@ -93,10 +93,10 @@ jobs:
PG_PORT: ${{ job.services.postgres.ports['5432'] }}

- name: benchmark
run: stack bench --fast --stack-yaml stack-ghc8_10.yaml
run: stack bench --fast --stack-yaml stack-ghc9_6.yaml

- name: documentation
run: stack haddock --fast --stack-yaml stack-ghc8_10.yaml
run: stack haddock --fast --stack-yaml stack-ghc9_6.yaml

- name: cache
uses: actions/cache@v3
Expand All @@ -105,7 +105,7 @@ jobs:
".stack-work"
"/root/.stack/"
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
ghc8_8:
ghc9_4:
runs-on: ubuntu-latest

services:
Expand All @@ -130,10 +130,10 @@ jobs:
stack-setup-ghc: true

- name: build
run: stack build --fast --stack-yaml stack-ghc8_8.yaml
run: stack build --fast --stack-yaml stack-ghc9_4.yaml

- name: test
run: stack test --fast --stack-yaml stack-ghc8_8.yaml
run: stack test --fast --stack-yaml stack-ghc9_4.yaml
env:
PG_USER: postgres
PG_HOST: localhost
Expand All @@ -142,10 +142,10 @@ jobs:
PG_PORT: ${{ job.services.postgres.ports['5432'] }}

- name: benchmark
run: stack bench --fast --stack-yaml stack-ghc8_8.yaml
run: stack bench --fast --stack-yaml stack-ghc9_4.yaml

- name: documentation
run: stack haddock --fast --stack-yaml stack-ghc8_8.yaml
run: stack haddock --fast --stack-yaml stack-ghc9_4.yaml

- name: cache
uses: actions/cache@v3
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

![squeal-icon](https://raw.githubusercontent.com/morphismtech/squeal/dev/squeal.gif)

[![GithubWorkflowCI](https://github.com/morphismtech/squeal/actions/workflows/ci.yml/badge.svg)](https://github.com/morphismtech/squeal/actions/workflows/ci.yml)

[Github](https://github.com/morphismtech/squeal)

[Hackage](https://hackage.haskell.org/package/squeal-postgresql)
Expand Down
2 changes: 1 addition & 1 deletion squeal-postgresql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

![squeal-icon](https://raw.githubusercontent.com/morphismtech/squeal/dev/squeal.gif)

[![CircleCI](https://circleci.com/gh/echatav/squeal.svg?style=svg&circle-token=a699a654ef50db2c3744fb039cf2087c484d1226)](https://circleci.com/gh/morphismtech/squeal)
[![GithubWorkflowCI](https://github.com/morphismtech/squeal/actions/workflows/ci.yml/badge.svg)](https://github.com/morphismtech/squeal/actions/workflows/ci.yml)

[Github](https://github.com/morphismtech/squeal)

Expand Down
4 changes: 1 addition & 3 deletions stack-ghc9_6.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
resolver: nightly-2023-08-29
resolver: lts-22.13
packages:
- squeal-postgresql
- squeal-postgresql-ltree
- squeal-postgresql-uuid-ossp
extra-deps:
- records-sop-0.1.1.1
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-19.33
resolver: lts-22.13
packages:
- squeal-postgresql
- squeal-postgresql-ltree
Expand Down

0 comments on commit 2157aac

Please sign in to comment.