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@v4
- name: Setup Spice
uses: spicelang/spice-setup-action@v1
with:
spice-version: 0.20.3 # 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.20.3', '0.19.6' ]
name: Setup Spice v${{ matrix.spice }}
steps:
- name: Checkout
uses: actions/checkout@v4
- 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-2024