Commit Graph

34 Commits

Author SHA1 Message Date
dependabot[bot]
d331019b37
Bump haskell-actions/setup in /.github/actions/setup-build (#4354)
Bumps [haskell-actions/setup](https://github.com/haskell-actions/setup) from 2.7.3 to 2.7.5.
- [Release notes](https://github.com/haskell-actions/setup/releases)
- [Commits](https://github.com/haskell-actions/setup/compare/v2.7.3...v2.7.5)

---
updated-dependencies:
- dependency-name: haskell-actions/setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: soulomoon <fwy996602672@gmail.com>
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2024-07-09 16:24:37 +00:00
dependabot[bot]
032a96b37b
Bump haskell-actions/setup in /.github/actions/setup-build (#4253)
Bumps [haskell-actions/setup](https://github.com/haskell-actions/setup) from 2.7.2 to 2.7.3.
- [Release notes](https://github.com/haskell-actions/setup/releases)
- [Commits](https://github.com/haskell-actions/setup/compare/v2.7.2...v2.7.3)

---
updated-dependencies:
- dependency-name: haskell-actions/setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-27 10:36:28 +01:00
dependabot[bot]
37ede72020
Bump haskell-actions/setup in /.github/actions/setup-build (#4243)
Bumps [haskell-actions/setup](https://github.com/haskell-actions/setup) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/haskell-actions/setup/releases)
- [Commits](https://github.com/haskell-actions/setup/compare/v2.7.1...v2.7.2)

---
updated-dependencies:
- dependency-name: haskell-actions/setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 15:15:51 +01:00
dependabot[bot]
54806cfc64
Bump haskell-actions/setup in /.github/actions/setup-build (#4188)
Bumps [haskell-actions/setup](https://github.com/haskell-actions/setup) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/haskell-actions/setup/releases)
- [Commits](https://github.com/haskell-actions/setup/compare/v2.7.0...v2.7.1)

---
updated-dependencies:
- dependency-name: haskell-actions/setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 06:21:56 +02:00
dependabot[bot]
81a72b909e
Bump haskell-actions/setup in /.github/actions/setup-build (#4157)
Bumps [haskell-actions/setup](https://github.com/haskell-actions/setup) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/haskell-actions/setup/releases)
- [Commits](https://github.com/haskell-actions/setup/compare/v2.6.3...v2.7.0)

---
updated-dependencies:
- dependency-name: haskell-actions/setup
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 10:23:24 +00:00
dependabot[bot]
175461ef89
Bump haskell-actions/setup in /.github/actions/setup-build (#4150)
Bumps [haskell-actions/setup](https://github.com/haskell-actions/setup) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/haskell-actions/setup/releases)
- [Commits](https://github.com/haskell-actions/setup/compare/v2.6.2...v2.6.3)

---
updated-dependencies:
- dependency-name: haskell-actions/setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jan Hrcek <2716069+jhrcek@users.noreply.github.com>
2024-03-26 18:41:33 +01:00
dependabot[bot]
2a6fa1e703
Bump haskell-actions/setup from 2.6.1 to 2.6.2 in /.github/actions/setup-build (#4116)
* Bump haskell-actions/setup in /.github/actions/setup-build

Bumps [haskell-actions/setup](https://github.com/haskell-actions/setup) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/haskell-actions/setup/releases)
- [Commits](https://github.com/haskell-actions/setup/compare/v2.6.1...v2.6.2)

---
updated-dependencies:
- dependency-name: haskell-actions/setup
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update test after ghc 9.8.1 -> 9.8.2 bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
Co-authored-by: Jan Hrček <honza.hrk@gmail.com>
2024-03-05 09:43:01 +00:00
Jan Hrcek
d8445f4eae
Bump haskell-actions/setup to get 9.6.4 in CI (#4062) 2024-02-09 09:37:29 +00:00
Fendor
75a59ab1e2 Switch to haskell-actions/setup since the haskell/actions is deprecated 2024-01-04 16:37:17 +01:00
wz1000
1c884ea856
Remove head.hackage (#3867)
* Remove head.hackage

Bump to

- lsp-2.3
- lsp-types-2.1
- hiedb-0.4.4
- hie-bios-12.1 (TODO remove source-repository package in favour of hackage release)
- hie-comat-0.3.1.2

* Bump cabal version for CI

* Add comments for allow-newer

* Fix build on 9.6

* Hopefully fix stack extra-deps

---------

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2023-11-14 09:59:59 +00:00
dependabot[bot]
f8ce8ea683
Bump haskell/actions from 2.4.6 to 2.4.7 in /.github/actions/setup-build
Bumps [haskell/actions](https://github.com/haskell/actions) from 2.4.6 to 2.4.7.
- [Release notes](https://github.com/haskell/actions/releases)
- [Commits](https://github.com/haskell/actions/compare/v2.4.6...v2.4.7)

---
updated-dependencies:
- dependency-name: haskell/actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 18:54:01 +00:00
dependabot[bot]
ccd4b11e98
Bump haskell/actions from 2.4.4 to 2.4.6 in /.github/actions/setup-build (#3753)
Bumps [haskell/actions](https://github.com/haskell/actions) from 2.4.4 to 2.4.6.
- [Release notes](https://github.com/haskell/actions/releases)
- [Commits](https://github.com/haskell/actions/compare/v2.4.4...v2.4.6)

---
updated-dependencies:
- dependency-name: haskell/actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-21 16:05:53 +00:00
dependabot[bot]
7007861905
Bump haskell/actions from 2.4.3 to 2.4.4 in /.github/actions/setup-build (#3699)
Bumps [haskell/actions](https://github.com/haskell/actions) from 2.4.3 to 2.4.4.
- [Release notes](https://github.com/haskell/actions/releases)
- [Commits](https://github.com/haskell/actions/compare/v2.4.3...v2.4.4)

---
updated-dependencies:
- dependency-name: haskell/actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:45:43 +00:00
dependabot[bot]
ca68e1704d
Bump haskell/actions from 2.4.1 to 2.4.3 in /.github/actions/setup-build (#3627)
Bumps [haskell/actions](https://github.com/haskell/actions) from 2.4.1 to 2.4.3.
- [Release notes](https://github.com/haskell/actions/releases)
- [Commits](https://github.com/haskell/actions/compare/v2.4.1...v2.4.3)

---
updated-dependencies:
- dependency-name: haskell/actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-06-11 21:13:10 +00:00
dependabot[bot]
c38de3c5bc
Bump haskell/actions from 2.4.0 to 2.4.1 in /.github/actions/setup-build (#3604)
Bumps [haskell/actions](https://github.com/haskell/actions) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/haskell/actions/releases)
- [Commits](https://github.com/haskell/actions/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: haskell/actions
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 09:46:23 +01:00
Lei Zhu
b433e0acea
Move to ghc-9.4.5 and drop ghc-9.4.4 (#3591)
* ghc-9.4.5

* Bump setup action
2023-05-14 17:54:06 +08:00
fendor
5d37f1ca95
CI: Simplify to read CI output and don't fail fast (#3580)
* CI: Remove edge case for GHC 8.8.4

* CI: Don't log LSP messages, way too much information

* CI: Don't fail fast

We don't want to fail fast.
We used to fail fast, to avoid caches of failing PRs to overpopulate the CI
caches, evicting known good build caches.
However, PRs do not cache anything any more, and can only use the caches from current master.
See 'caching.yml' for our caching set up.
2023-05-08 13:32:52 +01:00
wz1000
191bda61fe
9.6 support for HLS (#3480)
* 9.6 support

Fixes

hls-refactor-plugin 9.6 support

hls-gadt-plugin

Fix 9.4 build

Fixes

hls-gadt-plugin fixes

WIP 9.6 patches

fixes

fixes

fixes

fixes

fixes

Fixes and add CI

CI

CI fixes

patch haskell/actions for https://github.com/haskell/ghcup-hs/issues/783

CI fixes

CI fixes

CI fixes

CI

CI

CI

CI

CI

Fix build on 9.0

Fix build on 9.0

hls-splice-plugin 9.6 compat

fixes

fixes

fixes

fixes

Fix benchmark build errors

9.2.5 and 8.10.7 had build errors when running benchmarks due to `mfsolve`
test suite having duplicate instances, so stop building tests for
mfsolve (see: https://github.com/kuribas/mfsolve/issues/8). Also,
`http2-4.0.0` has a parse error due to a misplaced haddock comment that
causes build failure with `-haddock`. It is fixed in the latest commit
of the source repo, so use that in the `cabal.project` for now.

Checkout correct commit on `pull_request` in CI

By default, the `pull_request` event has a `GITHUB_SHA` env variable set to the
"last merge commit on the GITHUB_REF branch"
(see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request).
But we want to check out the latest commit on the branch whether or not it is a
merge commit. This commit changes the CI actions to do just that.

fixes

Use head.hackage for 9.4

Only use head.hackage for 9.5 and up

Reverts the change that caused head.hackage to be used for 9.4 as
well

Reintroduce source-repo-package for ekg-json

Fix refactor plugin tests

Fix missing constraint detection in refactor plugin

ghc 9.6+ allow newer unordered-containers:template-haskell

Some refactor tests no longer broken for 9.2

Fix simple-multi-test on 9.6

Mark simple-plugin as broken on 9.6

func-test fixes

Disable unsupported plugins on 9.6

Eval plugin fixes

Eval plugin test fixes, debug output in CI script

Restore 'working' setup/actions

WIP Fix GHC prerelease windows install

Fix eval plugin T11

fixes

Eval plugin fixes

Fix splice plugin test

Mark `simple plugin` ghcide test broken on 9.6

fixes

fixes

Use GHC 9.6-rc1 in CI

Try using 9.6.1 for CI

* 9.6 nix

* Remove head.hackage

* fixes

* fixes

* fixes

* fixes

* fixes

* fixes
2023-03-22 13:56:51 +00:00
Michael Peyton Jones
adf6622479
Bump haskell/actions (#3520)
Hopefully this will help with the Windows issues.

Co-authored-by: Anton Latukha <anton.latukha@gmail.com>
2023-03-18 10:59:44 +00:00
Michael Peyton Jones
d48cc0f831
Workaround ghcup runner issue (#3483)
* Workaround ghcup runner issue

* Try this
2023-02-08 17:51:31 +00:00
Zubin Duggal
571fccb38f Update haskell/actions 2023-01-23 15:23:30 +05:30
fendor
389315413c
Bump gha versions in setup-build/action.yml (#3366)
* Bump gha versions in setup-build/action.yml

* Also bump cache for compiled-deps action

* Make sure caching is run for the same GHC versions as test.yml

* Specify a GHC in pre-commit.yml
2022-12-01 10:42:51 +00:00
Zubin Duggal
6c99563a9f 9.4 support + MHU 2022-09-01 14:47:55 +05:30
Lei Zhu
df77e7dd2d
Support ghc-9.2.4 (#3085)
* Support ghc-9.2.4

* Restore caching workflow for ghc-9.2.3
2022-08-11 09:54:02 +01:00
Pepe Iborra
b6d87c564d
no longer disable -dynamic builds (#2885) 2022-05-05 22:53:42 +00:00
Pepe Iborra
8cbefb71bc
Consolidate all cabal.project files (#2866) 2022-05-05 15:07:51 +01:00
Zubin Duggal
55ea102304 Remove references to cabal-ghc921.project
It has been changed to `cabal-ghc92.project`
2022-04-21 14:08:10 +05:30
Javier Neira
6cdd5bebbf
Set -dynamic in cabal.project (#2688)
To fix the build workflow

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-07 12:37:04 +00:00
Javier Neira
9d75cc5660
Prepare 1.6.1.1 (only hackage release) (#2681)
* Disable -dynamic for all workflows

* Remove quotes

* Bump version to 1.6.1.1

* Update changelog for 1.6.1.1

* Correct flag set

* add comment to ci step

* Restore header and link
2022-02-02 15:13:53 +00:00
Javier Neira
ce41b6459a
Prepare 1.6.0 release (#2642)
* Add list of merged prs

* Remove branch trigger

* Update release instructions

* Include 9.2.1 in the current release

* Bump up hls version

* remove duplicate mention

* Remove references to branch name

* Fix cabal.project gen

* Correct fail-fast condition

* Bump up minor version

* Bump up major version

* Bump up major version

* Allow brittany only for 9.0.1

* brittany not supported in hackage and 9.0.2

* Not short hls for hackage

* Bump up versions everywhere

* Update hackage index

* Add ghcide in rename plugin

* Apply linter and add selection demo

* Add header linkable

* Add first version of release description

* Add last prs

* Mention wingman

* Grammar corrections

Co-authored-by: Jan Hrcek <2716069+jhrcek@users.noreply.github.com>

* Correct mention

Co-authored-by: Pepe Iborra <pepeiborra@me.com>

* Warn about th in docs

* Remove reference to install doc

* Rephrasing

Co-authored-by: J. S. <document_done@hotmail.com>

* Better style

Co-authored-by: Junyoung "Clare" Jang <jjc9310@gmail.com>

* Use could to stress it likely will not work

* REmove reliable from the warning

* Reorder comments

* Rephrasing

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Update docs/supported-versions.md

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Use last version of internal deps

* Restore original wording

* One more pr

* One more pr

Co-authored-by: Jan Hrcek <2716069+jhrcek@users.noreply.github.com>
Co-authored-by: Pepe Iborra <pepeiborra@me.com>
Co-authored-by: J. S. <document_done@hotmail.com>
Co-authored-by: Junyoung "Clare" Jang <jjc9310@gmail.com>
Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2022-01-28 09:06:56 +00:00
Javier Neira
92a8cc0b98
Use ghc+integer-gmp for alpine linux build release (#2615)
* Remove integer-simple workaround

* Skip upload to the release

* Fix echo cabal.project

* Echo PATH

* Use specific cache for build

* runner not allowed out of steps

* Use common cache

* Use raw ubuntu for ghc-9.2.1

* Enable alpine for ghc-9.2.1

* Replace gitrev with githash

* Handle GitInfo exception

As it breaks `cabal install`

* Clean up build workflow
2022-01-22 14:53:12 +01:00
Javier Neira
255803531a
Make work stack-9.2.1.yaml and enable pedantic (-WError) for cabal (#2606)
* Enable brittany for ghc-9.0.2

* Make works using cabal freeze

* Add stack 9.2.1 to ci

* Use new *molu versions

* Enable rename for stack 9.2.1

* Use last ghc-lib

* Use correct boot pkgs

* Use last ghc-exactprint

* Reorganize and use lens-5.1

* update retrie

* Comment class plugin package

* Handle Nothing case

* Restore ghc-typelits deps

* More non-exhaustive patterns

* More non-exhaustive patterns

* Set pedantic (-WError) true for cabal

* Remove pedantic as we set it out in cabal.project

* Not set pedantic for ghc-9.2.1

* Set pedantic in cabal.project's

* More non-exhaustive patterns

* Not set pedantic for ghc-9.0.1

* More incomplete patterns

* Fix WErrors

* Dodgy import

* Correct CPP conditions

* Not MonadFail in Prelude

* Fix more warnings

* Restore missing fun

* unused imports

* Enable refine imports

* more fixes

* Enable brittany in nix for 9.0.1

* Use newer prettyprinter

* Return to master

* Enable tactics in stack-9.2.1.yaml

* Enable pedantic in ci

* Avoid deprecation warning with CPP �

* Use default prettyprinter

* Update refinery for ghc-9.2.1

* Ignore deprecations

* Use dev version of ghc-source-gen

* disable wingman for 9.2.1

* Enable wingman for 9.0.2

* disable tactic with flag

* yaml grammar

* Use setup-build action

* Correct workflow

* Build flags for al major os's

* The integer twaek is needed for the solver

* Disable tests beforehand

* flags only affect local packages

* Exclude 8.6.5

* Exclude 8.8.4
2022-01-20 12:38:21 +00:00
Javier Neira
3f4685141c
Add support for ghc 9.0.2 (#2567)
* Extract out ci build setup

* Add required shell property

* Add support for ghc-9.0.2

* Test ghc 9.0.2

* Add unix boot package

* Use primitive-unlifted < 1.0

* Use primitive-unlifted < 1.0 for stack

* Ude 9.0.1 for hackage

We cant use 9.0.2 until all deps do not need allow-newer

* Use a unified cabal-ghc90.project

And bump up index state to get lastest hie-bios

* Use last snapshot with ghc-9.0.2 support

* Use new cabal-ghc90.project in build

* Add stm-containers

* Add specific tweaks for ghc-9.0.2

* Use the las ghc-boot-9.0

* Fix test adding allow-newer

Co-Authored-By: @michaelpj

* Use unix-compat from hackage

* Use unix-compat from hackage

* Make consistent lastest stack.yamls

* Clean up cabal.project

* more cleanups

* Update tweaks in hackage ci

* Correct comment

* Correct fourmolu condition

* Correct fourmolu condition in tests

* Removing the all target from caching

It builds all project packages even if we they are not buildables
(and are not included in hls due to flags)
Its goal was build all tests and benchmarks but --enable-tests
ans --enable-benchmarks should work
Last one does not: https://github.com/haskell/cabal/issues/6259

* exclude Brittany 0.14.0.1

* Update snapshot to get new lsp

* document flag

* Document and build ghcide benchmark

* Doc and use ghc-9.0.2 in hackage

* Add ghc-9.2.1 to tested-with

* Use 9.0.2 in gitlab

* Use last *molus

* Use same versions as cabal build

* Use cabal freeze versions

* Add dep for ghcide tests

* one by one

* Unnecessary change

* Remove unnecessary flag

* Corrections

* Move blocks

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-17 01:18:04 +00:00
Javier Neira
e6227440b4
Reuse build setup using a dedicated github action (#2563)
* Extract out ci build setup

* Correct action path

* Add required shell property

* Remove unused cabal version

* Update .github/actions/setup-build/action.yml

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Update .github/actions/setup-build/action.yml

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Update .github/actions/setup-build/action.yml

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>

* Update .github/actions/setup-build/action.yml

Co-Authored-By: @michaelpj

* Copy alt project file unconditionally

* Make freeze strict

Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
2022-01-05 14:30:32 +00:00