diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3cb488e..14b23e2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: branches: [ dev ] jobs: - ghc9_0: + ghc_default: runs-on: ubuntu-latest services: @@ -56,7 +56,7 @@ jobs: ".stack-work" "/root/.stack/" key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} - ghc8_10: + ghc9_6: runs-on: ubuntu-latest services: @@ -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 @@ -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 @@ -105,7 +105,7 @@ jobs: ".stack-work" "/root/.stack/" key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} - ghc8_8: + ghc9_4: runs-on: ubuntu-latest services: @@ -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 @@ -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 diff --git a/README.md b/README.md index b5f5cfd9..0cd15ee6 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/squeal-postgresql/README.md b/squeal-postgresql/README.md index 1cd89548..775a88c4 100644 --- a/squeal-postgresql/README.md +++ b/squeal-postgresql/README.md @@ -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) diff --git a/stack-ghc9_6.yaml b/stack-ghc9_6.yaml index 895dc347..c5529aee 100644 --- a/stack-ghc9_6.yaml +++ b/stack-ghc9_6.yaml @@ -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 diff --git a/stack.yaml b/stack.yaml index df8c0068..c5529aee 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-19.33 +resolver: lts-22.13 packages: - squeal-postgresql - squeal-postgresql-ltree