https://github.com/fabasoad/setup-mojo-action
This action installs MAX and Mojo
https://github.com/fabasoad/setup-mojo-action
Last synced: about 1 year ago
JSON representation
This action installs MAX and Mojo
- Host: GitHub
- URL: https://github.com/fabasoad/setup-mojo-action
- Owner: fabasoad
- License: mit
- Created: 2024-08-11T06:05:16.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-15T06:27:16.000Z (about 1 year ago)
- Last Synced: 2025-06-18T05:59:04.843Z (about 1 year ago)
- Language: Shell
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Setup Mojo
[](https://stand-with-ukraine.pp.ua)




This action sets up a [pixi](https://pixi.sh/latest/) CLI. Using it you can
create a [mojo](https://docs.modular.com/mojo/manual/) project.
## Supported OS
| OS | |
|---------|--------------------|
| Windows | :x: |
| Linux | :white_check_mark: |
| macOS | :white_check_mark: |
## Inputs
```yaml
- uses: fabasoad/setup-mojo-action@v3
with:
# (Optional) If "true" it installs pixi even if it is already installed on
# a runner. Otherwise, skips installation. Defaults to "false".
force: "false"
```
## Outputs
| Name | Description | Example |
|-----------|-----------------------------------|---------|
| installed | Whether pixi was installed or not | `true` |
## Example usage
```yaml
name: Setup Mojo
on: push
jobs:
setup:
name: Setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: fabasoad/setup-mojo-action@v3
- name: Get Mojo version
run: |
pixi add modular
pixi run mojo --version
```