GitHub Action
Taqueria Actions
A docker action that helps simplify and standardize the use of Taqueria in GitHub workflows
A list of contract file names to be compiled into Michelson. The artifacts are saved to the artifacts
directory with the .tz
extension.
A list of Michelson smart contract files including the .tz
extension to be deployed to a specified environment. The Taquito plugin needs to be installed.
This input is used to select the configured environment for taqueria
to originate to. The default is set to development
.
A comma separated list of plugins to install.
The name of the project directory. If nothing is specified the repository root directory is used.
The name of the Flextesa sandbox to use. A sandbox will only be created if this input is specified. When running the sandbox, the action will automatically change the value of rpcUrl
for the sandbox in config.json
. This is to enable origination to the local sandbox in CI.
The name of a specific task to run. This input is mainly used for testing purposes.
When set to true, all tests in the tests
directory will be run using the Jest plugin. This option makes use of the jest
plugin so please make sure to install it.
- name: taqueria tasks
uses: ecadlabs/[email protected]
with:
plugins: '@taqueria/plugin-ligo, @taqueria/plugin-flextesa, @taqueria/plugin-taquito, @taqueria/plugin-jest'
compile_contracts: counter.jsligo
sandbox_name: local
deploy_contracts: counter.tz
tests: 'true'
- name: compile contracts
uses: ecadlabs/[email protected]
with:
project_directory: 'example-projects/hello-tacos'
compile_contracts: 'hello-tacos.mligo'
- name: start local sandbox
uses: ecadlabs/[email protected]
with:
project_directory: 'example-projects/hello-tacos'
sandbox_name: 'local'
- name: deploy contracts
uses: ecadlabs/[email protected]
with:
project_directory: 'example-projects/hello-tacos'
deploy_contracts: hello-tacos.tz