From 5e88b54f225c8bfc9b3b68bc4d3678b21286c84f Mon Sep 17 00:00:00 2001 From: Christopher del Rosario <49501729+t4n6a1ka@users.noreply.github.com> Date: Thu, 26 Sep 2019 00:41:24 +0800 Subject: [PATCH] .github/workflows/all.yml (#7) * eth: fix sync bloom panic (#19757) * eth: fix sync bloom panic * eth: delete useless test cases * mobile: fix mobile interface (#19180) * mobile: fix mobile interface * mobile, accounts: generate correct java binding * accounts: fix java type binding * mobile: support integer slice * accounts/abi/bind, cmd/abigen: implement java binding tests * les: prefer nil slices over zero-length slices (#19081) * all: on-chain oracle checkpoint syncing (#19543) * all: implement simple checkpoint syncing cmd, les, node: remove callback mechanism cmd, node: remove callback definition les: simplify the registrar les: expose checkpoint rpc services in the light client les, light: don't store untrusted receipt cmd, contracts, les: discard stale checkpoint cmd, contracts/registrar: loose restriction of registeration cmd, contracts: add replay-protection all: off-chain multi-signature contract params: deploy checkpoint contract for rinkeby cmd/registrar: add raw signing mode for registrar cmd/registrar, contracts/registrar, les: fixed messages * cmd/registrar, contracts/registrar: fix lints * accounts/abi/bind, les: address comments * cmd, contracts, les, light, params: minor checkpoint sync cleanups * cmd, eth, les, light: move checkpoint config to config file * cmd, eth, les, params: address comments * eth, les, params: address comments * cmd: polish up the checkpoint admin CLI * cmd, contracts, params: deploy new version contract * cmd/checkpoint-admin: add another flag for clef mode signing * cmd, contracts, les: rename and regen checkpoint oracle with abigen * accounts/abi: Fix method overwritten by same name methods. (#17099) * accounts/abi: Fix method overwritten by same name methods. * accounts/abi: Fix method overwritten by same name methods. * accounts/abi: avoid possible name conflict Co-authored-by: Guillaume Ballet * Delete COPYING * Create LICENSE * Master (#2) (#3) * Create .loc * Rename core/.go/.loc to core/go./loc.js * Delete loc.js * Create .JS * Delete .JS * Update main.yml * Create main.workflow * Update .travis.yml * Update .travis.yml * Delete .travis.yml --- .github/workflows/main.workflow | 42 +++++++++++++++++++++++++++++++++ .github/workflows/main.yml | 17 +++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 .github/workflows/main.workflow create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.workflow b/.github/workflows/main.workflow new file mode 100644 index 0000000000..d83bbb1c44 --- /dev/null +++ b/.github/workflows/main.workflow @@ -0,0 +1,42 @@ +workflow "Build and Publish" { + on = "push" + resolves = "Publish" +} + +action "Lint" { + uses = "actions/action-builder/shell@master" + runs = "make" + args = "lint" +} + +action "Test" { + uses = "actions/action-builder/shell@master" + runs = "make" + args = "test" +} + +action "Build" { + needs = ["Lint", "Test"] + uses = "actions/action-builder/docker@master" + runs = "make" + args = "build" +} + +action "Publish Filter" { + needs = ["Build"] + uses = "actions/bin/filter@master" + args = "branch master" +} + +action "Docker Login" { + needs = ["Publish Filter"] + uses = "actions/docker/login@master" + secrets = ["DOCKER_USERNAME", "DOCKER_PASSWORD"] +} + +action "Publish" { + needs = ["Docker Login"] + uses = "actions/action-builder/docker@master" + runs = "make" + args = "publish" +} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000000..33bcda7b2a --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - name: Run a one-line script + run: echo Hello, world! + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project.