Skip to content

Commit df6f7bd

Browse files
authored
[CDNC-8152] Action to build and test samples (#84)
* add github action to build and test samples * add build badge to README.md
1 parent 801bf30 commit df6f7bd

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Build and test cadence-samples
2+
on: [push, pull_request]
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v4
10+
- name: Setup Go
11+
uses: actions/setup-go@v4
12+
with:
13+
go-version: '1.22.x'
14+
- name: Build and Test
15+
run: make
16+

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Cadence Samples
1+
# Cadence Samples ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/uber-common/cadence-samples/build.yml)
2+
23
These are some samples to demostrate various capabilities of Cadence client and server. You can learn more about cadence at:
34
* Cadence: https://github.com/uber/cadence
45
* Cadence Client: https://github.com/uber-go/cadence-client

0 commit comments

Comments
 (0)