moonrepo / setup-moon-action

A GitHub action for installing moon globally and caching the toolchain.

Repository from Github https://github.commoonrepo/setup-moon-actionRepository from Github https://github.commoonrepo/setup-moon-action

moon - Setup moon and toolchain

A GitHub action that sets up an environment for moon by...

Installing the moon binary globally using the official installation script, and appending the installation directory to PATH.

And also caching the moon toolchain at ~/.moon (or ~/.proto), keyed by hashing the .moon/toolchain.yml configuration file found in the repository.

Installation

# ...
jobs:
  ci:
    name: CI
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - uses: moonrepo/setup-moon-action@v1
      - run: moon ci

Inputs

  • version - Version of moon to explicitly install. Defaults to "latest".

About

A GitHub action for installing moon globally and caching the toolchain.


Languages

Language:TypeScript 95.3%Language:JavaScript 4.7%