GitHub Workflow Action for Ligo
Github action with 3 input to use the required version of ligo.
Inputs :
ligo_version
: required -> The ligo version to use (eg 0.70.1)command
: required -> The command to execute (ommit ligo, forligo compile contract
, docompile contract ...
working_directory
-> Optional : Path to the directory where the command should be executed
- name: Install deps
uses: marigold-dev/ligo-action@v1.0.0
with:
ligo_version: 0.70.1
command: install
working_directory: contract
- name: Run test
uses: marigold-dev/ligo-action@v1.0.0
with:
ligo_version: 0.70.1
command: run test test/test.mligo
working_directory: contract
Please see the Ligo website for more detailed instructions on how to use the Ligo CLI.