You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Setup Spice environment
v1.0.4
GitHub Action to setup the Spice programming language on a runner instance.
This is the source code for the Spice Setup Action. This GH Action can be used to setup Spice on a CI runner instance.
For detailed configuration information see the action.yml file. Here are a few examples how to use it:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Spice
uses: spicelang/spice-setup-action@v1
with:
spice-version: 0.10.0 # The Spice version to setup. If omitted, the latest version will be taken
- run: spice run example.spice
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
spice: [ '0.9.0', '0.10.0' ]
name: Setup Spice v${{ matrix.spice }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Spice v${{ matrix.spice }}
uses: spicelang/spice-setup-action@v1
with:
spice-version: ${{ matrix.spice }}
- run: spice run example.spice
If you want to contribute to this project, please ensure you comply with the contribution guidelines.
© ChilliBits 2021-2022