Skip to content

Commit

Permalink
[CDNC-8152] Action to build and test samples (#84)
Browse files Browse the repository at this point in the history
* add github action to build and test samples

* add build badge to README.md
  • Loading branch information
ibarrajo authored Mar 19, 2024
1 parent 801bf30 commit df6f7bd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build and test cadence-samples
on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.22.x'
- name: Build and Test
run: make

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Cadence Samples
# Cadence Samples ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/uber-common/cadence-samples/build.yml)

These are some samples to demostrate various capabilities of Cadence client and server. You can learn more about cadence at:
* Cadence: https://github.com/uber/cadence
* Cadence Client: https://github.com/uber-go/cadence-client
Expand Down

0 comments on commit df6f7bd

Please sign in to comment.