fabasoad / setup-kitten-action

This GitHub action installs Kitten programming language interpreter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup Kitten

Stand With Ukraine GitHub release functional-tests security linting

This action sets up a Kitten.

Prerequisites

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

Example usage

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

"Hello World!" say

Workflow configuration

name: Setup Kitten

on: push

jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@main
      - uses: fabasoad/setup-kitten-action@main
      - name: Run script
        run: kitten ./hello-world.ktn

Result

Run kitten ./hello-world.ktn
Hello World!

About

This GitHub action installs Kitten programming language interpreter.

License:MIT License