diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index e70be7ba13..6b35610f86 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -46,7 +46,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['8.10.7', '9.2.4'] + ghc: ['8.10.7', '9.2.5'] os: [ubuntu-latest] # This code is fitted to the strategy: assumes Linux is used ... etc, @@ -104,7 +104,7 @@ jobs: strategy: fail-fast: false matrix: - ghc: ['8.10.7', '9.2.4'] + ghc: ['8.10.7', '9.2.5'] os: [ubuntu-latest] cabal: ['3.6'] example: ['cabal', 'lsp-types'] diff --git a/.github/workflows/caching.yml b/.github/workflows/caching.yml index b75a0cb71b..1f84a1c2ca 100644 --- a/.github/workflows/caching.yml +++ b/.github/workflows/caching.yml @@ -84,6 +84,7 @@ jobs: # specified in 'test.yml' ghc: [ "9.4.2" , "9.4.1" + , "9.2.5" , "9.2.4" , "9.2.3" , "9.0.2" @@ -96,6 +97,10 @@ jobs: exclude: - os: windows-latest ghc: '9.4.1' + # Exclude until https://github.com/haskell/actions/issues/129 + # is resolved. + - os: windows-latest + ghc: '9.2.5' steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/flags.yml b/.github/workflows/flags.yml index 44b329a833..f1fdb09a1a 100644 --- a/.github/workflows/flags.yml +++ b/.github/workflows/flags.yml @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: true matrix: - ghc: [ "9.2.4" + ghc: [ "9.2.5" , "9.0.2" , "8.10.7" ] @@ -65,8 +65,8 @@ jobs: - name: Build `ghcide` with flags run: cabal v2-build ghcide --flags="ghc-patched-unboxed-bytecode test-exe executable bench-exe ekg" - # we have to clean up warnings for 9.0 and 9.2 before enable -WAll - - if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.4' + # we have to clean up warnings for 9.0 and 9.2 before enable -Wall + - if: matrix.ghc != '9.0.2' && matrix.ghc != '9.2.5' name: Build with pedantic (-WError) run: cabal v2-build --flags="pedantic" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9385f5af36..64c4715f48 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,6 +62,7 @@ jobs: matrix: ghc: [ "9.4.2" , "9.4.1" + , "9.2.5" , "9.2.4" , "9.2.3" , "9.0.2" @@ -77,6 +78,10 @@ jobs: exclude: - os: windows-latest ghc: '9.4.1' + # Exclude until https://github.com/haskell/actions/issues/129 + # is resolved. + - os: windows-latest + ghc: '9.2.5' # Mark which GHC versions on which platform we want to test. include: # only test supported ghc major versions @@ -84,7 +89,7 @@ jobs: ghc: '9.4.2' test: true - os: ubuntu-latest - ghc: '9.2.4' + ghc: '9.2.5' test: true - os: ubuntu-latest ghc: '9.0.2' @@ -95,6 +100,8 @@ jobs: - os: windows-latest ghc: '9.4.2' test: true + # Test on 9.2.4 until https://github.com/haskell/actions/issues/129 + # is resolved. Then switch to 9.2.5 - os: windows-latest ghc: '9.2.4' test: true @@ -158,7 +165,7 @@ jobs: HLS_WRAPPER_TEST_EXE: hls-wrapper run: cabal test wrapper-test --test-options="$TEST_OPTS --rerun-log-file .tasty-rerun-log-wrapper" - - if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.4.2' + - if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' name: Test hls-brittany-plugin run: cabal test hls-brittany-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-brittany-plugin --test-options="$TEST_OPTS" @@ -182,7 +189,7 @@ jobs: name: Test hls-eval-plugin run: cabal test hls-eval-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-eval-plugin --test-options="$TEST_OPTS" - - if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.4.2' + - if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' name: Test hls-haddock-comments-plugin run: cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-haddock-comments-plugin --test-options="$TEST_OPTS" @@ -202,7 +209,7 @@ jobs: name: Test hls-fourmolu-plugin run: cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-fourmolu-plugin --test-options="$TEST_OPTS" - - if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.4.2' + - if: matrix.test && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' name: Test hls-tactics-plugin test suite run: cabal test hls-tactics-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-tactics-plugin --test-options="$TEST_OPTS" @@ -226,7 +233,7 @@ jobs: name: Test hls-hlint-plugin test suite run: cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-hlint-plugin --test-options="$TEST_OPTS" - - if: matrix.test && matrix.ghc != '9.0.1' && matrix.ghc != '9.0.2' && matrix.ghc != '9.2.4' && matrix.ghc != '9.4.2' + - if: matrix.test && matrix.ghc != '9.0.1' && matrix.ghc != '9.0.2' && matrix.ghc != '9.2.4' && matrix.ghc != '9.2.5' && matrix.ghc != '9.4.2' name: Test hls-stan-plugin test suite run: cabal test hls-stan-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-stan-plugin --test-options="$TEST_OPTS" diff --git a/docs/support/ghc-version-support.md b/docs/support/ghc-version-support.md index 9af9d7ed46..481ff191be 100644 --- a/docs/support/ghc-version-support.md +++ b/docs/support/ghc-version-support.md @@ -19,6 +19,8 @@ Support status (see the support policy below for more details): |--------------|------------------------------------------------------------------------------------|-----------------------------------------------------------------------------| | 9.4.2 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | basic support | | 9.4.1 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | basic support | +| 9.2.5 | unreleased | full support | + | 9.2.4 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support | | 9.2.3 | [latest](https://github.com/haskell/haskell-language-server/releases/latest) | full support | | 9.2.(1,2) | [1.7.0.0](https://github.com/haskell/haskell-language-server/releases/tag/1.7.0.0) | deprecated | diff --git a/ghcide-bench/ghcide-bench.cabal b/ghcide-bench/ghcide-bench.cabal index 24e9ee2c80..3db1217049 100644 --- a/ghcide-bench/ghcide-bench.cabal +++ b/ghcide-bench/ghcide-bench.cabal @@ -12,7 +12,7 @@ synopsis: An LSP client for running performance experiments on HLS description: An LSP client for running performance experiments on HLS homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme bug-reports: https://github.com/haskell/haskell-language-server/issues -tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4 +tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.5 source-repository head type: git @@ -137,4 +137,3 @@ test-suite test TupleSections TypeApplications ViewPatterns - diff --git a/ghcide/ghcide.cabal b/ghcide/ghcide.cabal index 5d0b50b921..9d898bbef9 100644 --- a/ghcide/ghcide.cabal +++ b/ghcide/ghcide.cabal @@ -13,7 +13,7 @@ description: A library for building Haskell IDE's on top of the GHC API. homepage: https://github.com/haskell/haskell-language-server/tree/master/ghcide#readme bug-reports: https://github.com/haskell/haskell-language-server/issues -tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4 +tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.5 extra-source-files: README.md CHANGELOG.md test/data/**/*.project test/data/**/*.cabal diff --git a/haskell-language-server.cabal b/haskell-language-server.cabal index 6926f53318..5dd57d7ef8 100644 --- a/haskell-language-server.cabal +++ b/haskell-language-server.cabal @@ -14,7 +14,7 @@ copyright: The Haskell IDE Team license: Apache-2.0 license-file: LICENSE build-type: Simple -tested-with: GHC == 8.10.7 || == 9.0.2 || == 9.2.3 || == 9.2.4 +tested-with: GHC == 8.10.7 || == 9.0.2 || ==9.2.5 extra-source-files: README.md ChangeLog.md diff --git a/plugins/hls-cabal-plugin/test/Main.hs b/plugins/hls-cabal-plugin/test/Main.hs index 03a8976bb1..9fa843347d 100644 --- a/plugins/hls-cabal-plugin/test/Main.hs +++ b/plugins/hls-cabal-plugin/test/Main.hs @@ -97,7 +97,7 @@ pluginTests = testGroup "Plugin Tests" expectNoMoreDiagnostics 1 hsDoc "typechecking" cabalDoc <- openDoc "simple-cabal.cabal" "cabal" expectNoMoreDiagnostics 1 cabalDoc "parsing" - , ignoreTestBecause "Testcase is flaky for certain GHC versions (e.g. 9.2.4). See #3333 for details." $ do + , ignoreTestBecause "Testcase is flaky for certain GHC versions (e.g. 9.2.5). See #3333 for details." $ do runCabalTestCaseSession "Diagnostics in .hs files from invalid .cabal file" "simple-cabal" $ do hsDoc <- openDoc "A.hs" "haskell" expectNoMoreDiagnostics 1 hsDoc "typechecking"