wenkokke/Setup Agda

Set up a specific version of Agda.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
agda-versionThe Agda version. Can be "latest" or a specific version number (e.g., 2.6.2.2). nolatest
agda-stdlib-versionThe Agda standard library version. Can be "none", "recommended", "latest", or a specific version number (e.g., 1.7.1). If set to "recommended", it will install the latest version of the Agda standard library compatible with the specified Agda version, as specified on [the Agda Wiki](https://wiki.portal.chalmers.se/agda/Libraries/StandardLibrary). If set to "latest" or a specific version number, it will install the latest or that specific version, regardless of compatibility with the specified Agda version. nonone
agda-librariesA list of Agda libraries to install. Libraries must be specified by their Git URL and end in a version anchor, e.g., ```yaml agda-libraries: | https://github.com/agda/agda-categories.git#v0.1.7.1 https://github.com/agda/cubical.git#v0.3 ``` To setup the Agda standard library, use "agda-stdlib-version" instead, as that ensures that the standard library and Agda versions are compatible. This input requires that the library has a tagged release and that the repository contains a .agda-lib file. This input relies on the convention that the filename of the .agda-lib file is the name of the library, and will refuse to install any library whose .agda-lib file is simple named ".agda-lib". no""
agda-defaultsA list of installed Agda libraries to add to defaults. Libraries must be specified by the name of their .agda-lib file, e.g., ```yaml agda-defaults: | standard-library agda-categories cubical ``` no""
agda-executablesA list of executables to register with Agda. Executables must be specified by their name or path, e.g., ```yaml agda-executables: | z3 /bin/echo ``` no""
force-buildIf specified, always build from source. no
force-no-buildIf specified, never build from source. no
ghc-versionVersion of GHC to use. Can be "recommended", "latest", or a specific version number (e.g., 9.4.2). If set to "recommended", it will get the latest version supported by `haskell/actions/setup` which the Agda version is tested-with. If `ghc-version-match-exact` is set to false, it will favour versions which are supported by `haskell/actions/setup`. If set "latest" or to a specific GHC version, this version will be used even if it is incompatible with the Agda version. norecommended
pre-build-hookA shell script to be run before starting the build. no""
configure-optionsCan be "none", "recommended", or text. If set to "none", no configuration flags will be passed to `cabal configure`. If set to "recommended", the recommended configuration flags will be passed to `cabal configure`. Otherwise, the value will be passed to `cabal configure` verbatim. Only used when building Agda from source. recommended
bundleIf specified, bundle Agda and its non-standard dependencies, and upload the bundle as an artifact. no
bundle-nameIf specified, will be used as a name for the bundle. The value is interpreted as a [nunjucks template](https://mozilla.github.io/nunjucks/). The template may use `{{agda}}`, `{{cabal}}`, `{{ghc}}`, `{{icu}}`, which will be replaced by their respective versions, if used, and `{{arch}}`, `{{platform}}`, and `{{release}}`. The variable `{{arch}}` is replaced by the system architecture---e.g., `x64`, `arm64`, etc. The variable `{{platform}}` is replaced by one of of `linux`, `macos`, or `windows`. The variable `{{release}}` is replaced by a release identifier, e.g., `ubuntu-22.04`, `macos-12`, or `windows-2022`. Only used when `bundle` is specified. noagda-{{ agda }} -{{ arch }} -{{ release }} -ghc{{ ghc }} -cabal{{ cabal }} {% if icu %}-icu{{ icu }}{% endif %}
bundle-license-reportIf specified, include a license report in the bundle. Only used when `bundle` is specified. no
bundle-compressIf specified, the executables are compressed with [UPX](https://upx.github.io). Beware that on MacOS and Windows the resulting executables are unsigned, and therefore will cause problems with security. There is a workaround for this on MacOS: ```sh # for each executable file in <package>/bin: chmod +x <bin> xattr -c <bin> # for each library file in <package>/lib: chmod +w <lib> xattr -c <lib> chmod -w <lib> ``` Only used when `bundle` is specified. no
bundle-retention-daysDuration after which bundle will expire in days. 0 means using default retention. Minimum 1 day. Maximum 90 days unless changed from the repository settings page. no0
cabal-versionVersion of Cabal to use. If set to "latest", it will always get the latest stable version. nolatest
stack-versionVersion of Stack to use. If set to "latest", it will always get the latest stable version. nolatest
enable-stackIf specified, will setup Stack. no
stack-no-globalIf specified, enable-stack must be set. Prevents installing GHC and Cabal globally. no
stack-setup-ghcIf specified, enable-stack must be set. Will run stack setup to install the specified GHC. no
cabal-updateIf specified, will run `cabal update`. no
ghcup-release-channelIf specified, value is added as a ghcup release channel via `ghcup config add-release-channel`. no
disable-matcherIf specified, disables match messages from GHC as GitHub CI annotations. no
namedescription
agda-versionThe resolved Agda version.
agda-pathThe path of the agda executable _directory_.
agda-data-pathThe path of the agda data _directory_.
agda-exeThe path of the agda _executable_.
agda-mode-exeThe path of the agda-mode _executable_.
setup-haskellWhether or not actions/haskell/setup was called.
ghc-versionThe resolved version of ghc
cabal-versionThe resolved version of cabal
stack-versionThe resolved version of stack
ghc-exeThe path of the ghc _executable_
cabal-exeThe path of the cabal _executable_
stack-exeThe path of the stack _executable_
ghc-pathThe path of the ghc executable _directory_
cabal-pathThe path of the cabal executable _directory_
stack-pathThe path of the stack executable _directory_
cabal-storeThe path to the cabal store
stack-rootThe path to the stack root (equal to the STACK_ROOT environment variable if it is set; otherwise an OS-specific default)