Skip to content

Commit cade3c1

Browse files
feat: Add github actions
1 parent 1320849 commit cade3c1

File tree

3 files changed

+44
-102
lines changed

3 files changed

+44
-102
lines changed

.circleci/config.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
lint_test:
10+
uses: babylonchain/.github/.github/workflows/[email protected]
11+
with:
12+
run-unit-tests: true
13+
run-integration-tests: true
14+
run-lint: true
15+
16+
docker_pipeline:
17+
uses: babylonchain/.github/.github/workflows/[email protected]
18+
secrets: inherit
19+
with:
20+
publish: false

.github/workflows/publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: docker_publish
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
- 'dev'
8+
tags:
9+
- '**'
10+
11+
jobs:
12+
lint_test:
13+
uses: babylonchain/.github/.github/workflows/[email protected]
14+
with:
15+
run-unit-tests: true
16+
run-integration-tests: true
17+
run-lint: true
18+
19+
docker_pipeline:
20+
needs: ["lint_test"]
21+
uses: babylonchain/.github/.github/workflows/[email protected]
22+
secrets: inherit
23+
with:
24+
publish: true

0 commit comments

Comments
 (0)