diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..65f4201 --- /dev/null +++ b/.github/workflows/build.yml @@ -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 + diff --git a/README.md b/README.md index f0e9db8..1b35e36 100644 --- a/README.md +++ b/README.md @@ -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