/racket-package-ci-action

A GitHub Action for building and testing Racket packages

Primary LanguageShellApache License 2.0Apache-2.0

racket-package-ci-action

A GitHub Action for building and testing Racket packages.

Consider using the Bogdanp/setup-racket action instead. It's far more flexible and essentially obsoletes this action.

Action inputs

Only one input is required: name, for the name of the package. This is used as the --name argument to raco pkg install. An optional input, directory, can be used to specify where to look in your repository for the package's code. It should be a relative path to a directory containing the info.rkt file for the package. By default it is ., which is suitable for repositories that contain only a single package with an info.rkt file at the root of the repository.

Build and test environment

Building and testing occurs in a Docker image with Minimal Racket installed. Currently, packages are always built and tested using the latest released version of Racket as determined by the racket/racket:latest Docker Hub image. If you need support for more versions of Racket or non-minimal Racket, please reach out to me by opening an issue and telling me more about your use case.