From 0f8e8c99d88aeb3fbfd523f1ef2c6f762d10d64d Mon Sep 17 00:00:00 2001 From: Andreas Abel Date: Tue, 22 Sep 2026 18:12:11 +0200 Subject: [PATCH] Add Cabal 3.18.1.0 and Stack 3.11.1 --- README.md | 8 +++++--- dist/index.js | 2 +- lib/versions.json | 2 ++ src/versions.json | 2 ++ 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f95962a..d7e5976 100644 --- a/README.md +++ b/README.md @@ -22,15 +22,15 @@ See [action.yml](action.yml) and [docs/examples.md](docs/examples.md). | Name | Description | Type | Default | | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ----------- | -| `ghc-version` | GHC version to use, e.g. `9.2` or `9.2.5`. | `string` | `latest` | -| `cabal-version` | Cabal version to use, e.g. `3.6`. | `string` | `latest` | +| `ghc-version` | GHC version to use, e.g. `9.12` or `9.12.4`. | `string` | `latest` | +| `cabal-version` | Cabal version to use, e.g. `3.14`. | `string` | `latest` | | `stack-version` | Stack version to use, e.g. `latest`. Stack will only be installed if `enable-stack` is set. | `string` | `latest` | | `enable-stack` | If set, will setup Stack. | "boolean" | false/unset | | `stack-no-global` | If set, `enable-stack` must be set. Prevents installing GHC and Cabal globally. | "boolean" | false/unset | | `stack-setup-ghc` | If set, `enable-stack` must be set. Runs stack setup to install the specified GHC. (Note: setting this does _not_ imply `stack-no-global`.) | "boolean" | false/unset | | `disable-matcher` | If set, disables match messages from GHC as GitHub CI annotations. | "boolean" | false/unset | | `cabal-update` | If set to `false`, skip `cabal update` step. | `boolean` | `true` | -| `ghcup-release-channel` | If set, add a [release channel](https://www.haskell.org/ghcup/guide/#metadata) to ghcup. | `URL` | none | +| `ghcup-release-channel` | If set, add a [release channel](https://www.haskell.org/ghcup/guide/channels/) to ghcup. | `URL` | none | Note: "boolean" types are set/unset, not true/false. That is, setting any "boolean" to a value other than the empty string (`""`) will be considered true/set. @@ -138,6 +138,7 @@ Suggestion: Try to support at least the three latest major versions of GHC. - `head` (the [cabal-head](https://github.com/haskell/cabal/releases/tag/cabal-head) release of the most recent build of the `master` branch) - `latest` (default, recommended) +- `3.18.1.0` `3.18` - `3.16.1.0` `3.16` - `3.16.0.0` - `3.14.2.0` `3.14` @@ -155,6 +156,7 @@ Recommendation: Use the latest available version if possible. **Stack:** (with `enable-stack: true`) - `latest` (default, recommended) +- `3.11.1` `3.11` - `3.9.3` `3.9` - `3.9.1` - `3.7.1` `3.7` diff --git a/dist/index.js b/dist/index.js index fd260c5..9690917 100644 --- a/dist/index.js +++ b/dist/index.js @@ -37753,7 +37753,7 @@ module.exports = /*#__PURE__*/JSON.parse('{"win32":{"ghc":[{"from":"9.4.3","to": /***/ ((module) => { "use strict"; -module.exports = /*#__PURE__*/JSON.parse('{"ghc":["9.14.1","9.12.4","9.12.2","9.12.1","9.10.3","9.10.2","9.10.1","9.8.4","9.8.2","9.8.1","9.6.7","9.6.6","9.6.5","9.6.4","9.6.3","9.6.2","9.6.1","9.4.8","9.4.7","9.4.6","9.4.5","9.4.4","9.4.3","9.4.2","9.4.1","9.2.8","9.2.7","9.2.6","9.2.5","9.2.4","9.2.3","9.2.2","9.2.1","9.0.2","9.0.1","8.10.7","8.10.6","8.10.5","8.10.4","8.10.3","8.10.2","8.10.1","8.8.4","8.8.3","8.8.2","8.8.1","8.6.5","8.6.4","8.6.3","8.6.2","8.6.1","8.4.4","8.4.3","8.4.2","8.4.1","8.2.2","8.0.2","7.10.3"],"cabal":["3.16.1.0","3.16.0.0","3.14.2.0","3.14.1.1","3.14.1.0","3.12.1.0","3.10.3.0","3.10.2.1","3.10.2.0","3.10.1.0","3.8.1.0","3.6.2.0","3.6.0.0","3.4.1.0","3.4.0.0","3.2.0.0","3.0.0.0","2.4.1.0"],"stack":["3.9.3","3.9.1","3.7.1","3.5.1","3.3.1","3.1.1","2.15.7","2.15.5","2.15.3","2.15.1","2.13.1","2.11.1","2.9.3","2.9.1","2.7.5","2.7.3","2.7.1","2.5.1","2.3.3","2.3.1","2.1.3","2.1.1","1.9.3","1.9.1","1.7.1","1.6.5","1.6.3","1.6.1","1.5.1","1.5.0","1.4.0","1.3.2","1.3.0","1.2.0"],"ghcup":["0.2.6.2"]}'); +module.exports = /*#__PURE__*/JSON.parse('{"ghc":["9.14.1","9.12.4","9.12.2","9.12.1","9.10.3","9.10.2","9.10.1","9.8.4","9.8.2","9.8.1","9.6.7","9.6.6","9.6.5","9.6.4","9.6.3","9.6.2","9.6.1","9.4.8","9.4.7","9.4.6","9.4.5","9.4.4","9.4.3","9.4.2","9.4.1","9.2.8","9.2.7","9.2.6","9.2.5","9.2.4","9.2.3","9.2.2","9.2.1","9.0.2","9.0.1","8.10.7","8.10.6","8.10.5","8.10.4","8.10.3","8.10.2","8.10.1","8.8.4","8.8.3","8.8.2","8.8.1","8.6.5","8.6.4","8.6.3","8.6.2","8.6.1","8.4.4","8.4.3","8.4.2","8.4.1","8.2.2","8.0.2","7.10.3"],"cabal":["3.18.1.0","3.16.1.0","3.16.0.0","3.14.2.0","3.14.1.1","3.14.1.0","3.12.1.0","3.10.3.0","3.10.2.1","3.10.2.0","3.10.1.0","3.8.1.0","3.6.2.0","3.6.0.0","3.4.1.0","3.4.0.0","3.2.0.0","3.0.0.0","2.4.1.0"],"stack":["3.11.1","3.9.3","3.9.1","3.7.1","3.5.1","3.3.1","3.1.1","2.15.7","2.15.5","2.15.3","2.15.1","2.13.1","2.11.1","2.9.3","2.9.1","2.7.5","2.7.3","2.7.1","2.5.1","2.3.3","2.3.1","2.1.3","2.1.1","1.9.3","1.9.1","1.7.1","1.6.5","1.6.3","1.6.1","1.5.1","1.5.0","1.4.0","1.3.2","1.3.0","1.2.0"],"ghcup":["0.2.6.2"]}'); /***/ }) diff --git a/lib/versions.json b/lib/versions.json index 970010f..069ca1a 100644 --- a/lib/versions.json +++ b/lib/versions.json @@ -60,6 +60,7 @@ "7.10.3" ], "cabal": [ + "3.18.1.0", "3.16.1.0", "3.16.0.0", "3.14.2.0", @@ -80,6 +81,7 @@ "2.4.1.0" ], "stack": [ + "3.11.1", "3.9.3", "3.9.1", "3.7.1", diff --git a/src/versions.json b/src/versions.json index 49ba3fa..fa90abb 100644 --- a/src/versions.json +++ b/src/versions.json @@ -60,6 +60,7 @@ "7.10.3" ], "cabal": [ + "3.18.1.0", "3.16.1.0", "3.16.0.0", "3.14.2.0", @@ -80,6 +81,7 @@ "2.4.1.0" ], "stack": [ + "3.11.1", "3.9.3", "3.9.1", "3.7.1",