Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
circle

GitHub Action

Taqueria Actions

v0.8.0

Taqueria Actions

circle

Taqueria Actions

A docker action that helps simplify and standardize the use of taqueria in GitHub workflows

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Taqueria Actions

uses: TezosTaqueria/[email protected]

Learn more about this action in TezosTaqueria/taqueria-github-action

Choose a version

Taqueria docker action

A docker action that helps simplify and standardize the use of Taqueria in GitHub workflows

Taqueria version

v0.20.2

Inputs

compile_contracts

A list of contract file names to be compiled into Michelson. The artifacts are saved to the artifacts directory with the .tz extension.

deploy_contracts

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.

environment

This input is used to select the configured environment for taqueria to originate to. The default is set to development.

plugins

A comma separated list of plugins to install.

project_directory

The name of the project directory. If nothing is specified the repository root directory is used.

sandbox_name

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.

task

The name of a specific task to run. This input is mainly used for testing purposes.

tests

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.

Example usage

Single step action

- 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'

Multiple step action

- 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