https://github.com/kszucs/setup-mojo
Github Action step to setup Mojo
https://github.com/kszucs/setup-mojo
github-actions mojo-lang
Last synced: 3 months ago
JSON representation
Github Action step to setup Mojo
- Host: GitHub
- URL: https://github.com/kszucs/setup-mojo
- Owner: kszucs
- License: apache-2.0
- Created: 2024-07-21T20:56:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-07-21T21:39:12.000Z (11 months ago)
- Last Synced: 2025-03-09T11:03:44.208Z (3 months ago)
- Topics: github-actions, mojo-lang
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Github Action for setting up Mojo
Quick and dirty Github Action for setting up Mojo.
Usage:
```yaml
name: Test Setup Mojo Actionon: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Mojo
uses: kszucs/setup-mojo@main
with:
version: '2024.7.1805'
- name: Verify Mojo installation
run: |
mojo --version
echo "Modular Home: $MODULAR_HOME"
```TODOs:
- [ ] Prefix the installation path with the version
- [ ] Bake in caching to speed up the installation
- [ ] Test other platforms