Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fabasoad/setup-umka-action

This GitHub action installs Umka programming language.
https://github.com/fabasoad/setup-umka-action

cli github-action github-actions interpreter programming-language scripting-language umka

Last synced: 2 months ago
JSON representation

This GitHub action installs Umka programming language.

Awesome Lists containing this project

README

        

# Setup Umka

[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
![GitHub release](https://img.shields.io/github/v/release/fabasoad/setup-umka-action?include_prereleases)
![functional-tests](https://github.com/fabasoad/setup-umka-action/actions/workflows/functional-tests.yml/badge.svg)
![security](https://github.com/fabasoad/setup-umka-action/actions/workflows/security.yml/badge.svg)
![linting](https://github.com/fabasoad/setup-umka-action/actions/workflows/linting.yml/badge.svg)

This action sets up [Umka](https://github.com/vtereshkov/umka-lang).

## Supported OS

| OS | |
|---------|--------------------|
| Windows | :white_check_mark: |
| Linux | :white_check_mark: |
| macOS | :x: |

## Prerequisites

The following tools have to be available on a runner prior using this GitHub
action:

- `unzip`

## Inputs

| Name | Required | Description | Default | Possible values |
|---------|----------|-----------------------------------------------------------------------------------------|---------|----------------------|
| version | No | Umka version that can be found [here](https://github.com/vtereshkov/umka-lang/releases) | `1.5` | `1.4`, `1.4.1`, etc. |

## Example usage

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

```rust
fn main() {
printf("Hello World!")
}
```

### Workflow configuration

```yaml
name: Setup Umka

on: push

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

### Result

```text
Run umka ./hello-world.um
Hello World!
```