Skip to content
play

GitHub Action

Setup Racket environment

v0.3 Latest version
Use latest version
play

Setup Racket environment

Setup a Racket environment and add it to the PATH, additionally providing proxy support

Installation

Copy and paste the following snippet into your .yml file.

- name: Setup Racket environment
  uses: Bogdanp/setup-racket@v0.3
Learn more about this action in Bogdanp/setup-racket
Choose a version

setup-racket

GitHub Actions status

This action sets up a Racket environment for use in GitHub Actions.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@master
- uses: Bogdanp/setup-racket@v0.3
  with:
    architecture: 'x64'   # (x64 or x86), ignored on Linux
    distribution: 'full'  # or 'minimal'
    variant: 'regular'    # or 'CS' for Racket-on-Chez
    version: '7.4'        # or 'current' for the latest snapshot
- run: racket hello.rkt

Matrix Testing:

jobs:
  build:
    runs-on: ubuntu-16.04
    strategy:
      matrix:
        racket-version: [ '7.3', '7.4' ]
    name: Racket ${{ matrix.racket-version }} sample
    steps:
      - uses: actions/checkout@master
      - name: Setup Racket
        uses: Bogdanp/setup-racket@v0.3
        with:
          architecture: x64
          version: ${{ matrix.racket-version }}
      - run: racket hello.rkt

Notes

On Windows, the Racket executable is named Racket.exe and the filesystem is case-sensitive. raco is named raco.exe.

License

The scripts and documentation in this project are released under the MIT License.

You can’t perform that action at this time.