DEPRECATED: Use https://github.com/moonrepo/setup-toolchain instead!
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.
# ...
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
version
- Version of moon to explicitly install. Defaults to "latest".