Manage ligo version manually in ligo gh action #215
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Ligo Tests | |
on: | |
workflow_dispatch: # adding the workflow_dispatch so it can be triggered manually | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Ligo version | |
uses: marigold-dev/ligo-action@v1.0.0 | |
with: | |
ligo_version: 0.70.1 | |
command: version | |
working_directory: batcher | |
- name: Install deps | |
uses: marigold-dev/ligo-action@v1.0.0 | |
with: | |
ligo_version: 0.70.1 | |
command: install | |
working_directory: batcher | |
- 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: batcher |