Skip to content

fabasoad/setup-lolcode-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Setup LCI - LOLCODE interpreter

Stand With Ukraine GitHub release functional-tests security linting

This action sets up a LOLCODE interpreter called LCI.

Unsupported LCI versions

OS Version
Windows All
Linux 0.9.1
macOS 0.9.1, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.11.1

Prerequisites

The following tools have to be installed for successful work of this GitHub action: cmake, make.

Inputs

- uses: fabasoad/setup-lolcode-action@v1
  with:
    # (Optional) LCI version. Defaults to the latest version.
    version: "0.11.2"
    # (Optional) If "true" it installs LCI even if it is already installed on a
    # runner. Otherwise, skips installation.
    force: "false"
    # (Optional) GitHub token that is used to send requests to GitHub API such
    # as getting latest release. Defaults to the token provided by GitHub Actions
    # environment.
    github-token: "${{ github.token }}"

Outputs

Name Description Example
installed Whether LCI was installed or not true

Example usage

Let's try to run hello-world.lc file with the following content:

HAI 1.3
  CAN HAS STDIO?
  VISIBLE "Hello World!"
KTHXBYE

Workflow configuration

name: Setup LCI

on: push

jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: fabasoad/setup-lolcode-action@v1
      - name: Run script
        run: lci ./hello-world.lc

Result

Run lci ./hello-world.lc
Hello World!

Contributions

Alt