Skip to content
feather

GitHub Action

Setup Mint

v1.3.0 Latest version

Setup Mint

feather

Setup Mint

This action sets up a Mint programming language

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Mint

uses: fabasoad/[email protected]

Learn more about this action in fabasoad/setup-mint-action

Choose a version

Setup Mint

Stand With Ukraine GitHub release functional-tests security linting

This action sets up a Mint programming language.

Supported OS

OS Arch
Windows All
Linux x86_84
Linux arm
macOS x86_84
macOS arm (> 0.19.x)

Prerequisites

None

Inputs

Name Required Description Default Possible values
version No Mint version that can be found here 0.20.0-alpha.3 0.19.0, 0.18.0, etc.

Example usage

Workflow configuration

name: Setup Mint

on: push

jobs:
  setup:
    name: Setup
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: fabasoad/setup-mint-action@v1
      - name: Run script
        run: mint init test-project

Result

Mint - Initializing a new project
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙ Creating directory: test-project
⚙ Writing initial files:
  ➔ assets/head.html
  ➔ source/Main.mint
  ➔ tests/Main.mint
  ➔ mint.json
  ➔ .gitignore
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
All done in 292μs!