GithubHelp home page GithubHelp logo

laucans / taqueria-github-action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tezostaqueria/taqueria-github-action

0.0 1.0 0.0 2.03 MB

License: Apache License 2.0

Shell 9.59% JavaScript 6.85% Python 9.19% TypeScript 44.71% CSS 9.71% HTML 4.95% Dockerfile 1.51% LigoLANG 13.51%

taqueria-github-action's Introduction

Taqueria docker action

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

Taqueria version

v0.28.0

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.

compile_plugin

The plugin used to compile the contracts. Can be ligo or smartpy. The default is ligo

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.

ligo_libraries

A comma seperated list. If compile plugin is "ligo" this parameter can be used to install ligo libraries. Example ligo/fa

taq_ligo_image

A string representing ligo image to use. If compile plugin is "ligo" this parameter can be used to override the ligo image used. Example ligolang/ligo_ci:next

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.

test_plugin

When set to jest, 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.

test_files

When set to jest, all tests in the tests directory will be run using same plugin than the compile one.

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, @taqueria/plugin-smartpy'
        compile_contracts: counter.jsligo
        compile_plugin: ligo
        sandbox_name: local
        deploy_contracts: counter.tz
        tests: 'true'

Multiple step action

- name: compile contracts
    uses: ecadlabs/[email protected]
    with:
        project_directory: example-projects/taco-shop
        compile_contracts: hello-tacos.mligo
        compile_plugin: smartpy

- name: start local sandbox
    uses: ecadlabs/[email protected]
    with:
        project_directory: example-projects/taco-shop
        sandbox_name: local

- name: deploy contracts
    uses: ecadlabs/[email protected]
    with:
        project_directory: example-projects/taco-shop
        deploy_contracts: hello-tacos.tz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.