Title here
Summary here
GitHub action: ArkScript-lang/action-format
Inputs:
Example:
on: [push]
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ArkScript-lang/action-format@master
with:
folder: example/format
- uses: ArkScript-lang/action-format@master
with:
folder: example/format/GitHub action: ArkScript-lang/setup-arkscript
Inputs:
linux (or ubuntu), windows, or macos.ubuntu-latest or macos-14 will work because only the part before the - is usedlatestlatest will download the latest available releasev4.0.0-18Example:
name: "Testing ArkScript"
on:
push:
branches: [ master ]
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
name: "${{ matrix.os }}, ArkScript ${{ matrix.version }}, stdlib update: ${{ matrix.stdlib_update }}"
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, windows-latest, macos-14]
version: [latest, v4.3.0, v4.5.2]
stdlib_update: [yes, no]
steps:
- uses: actions/checkout@v5
- name: Setup ArkScript
uses: ArkScript-lang/setup-arkscript@master
with:
os: ${{ matrix.os }}
version: ${{ matrix.version }}
stdlib_update: ${{ matrix.stdlib_update }}
- name: Run code
shell: bash
run: arkscript --eval '(import std.List) (list:map "hello world!" print)'