fabasoad / setup-shakespeare-action

Setup Shakespeare programming language interpreter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup Shakespeare action

Stand With Ukraine Release functional-tests linting

This action installs one of the Shakespeare programming language interpreters called shakespearelang.

Prerequisites

The following tools have to be installed for successful work of this GitHub action:

Inputs

Name Required Description Default Possible values
version No Shakespearelang library version that can be found here 0.3.1 <String>

Example usage

Workflow configuration

name: Test

on: push

jobs:
  build:
    name: Shakespeare
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@main
      - uses: actions/setup-python@v4
        with:
          python-version: "3.9"
      - uses: fabasoad/setup-shakespeare-action@main
      - name: Hello World
        run: shakespeare run hello-world.spl
        shell: sh

Result

Run shakespeare run hello-world.spl
Hello World!

About

Setup Shakespeare programming language interpreter.

License:MIT License