Support Orchestration ID Reuse Policies #108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Validation | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the "main" branch | |
push: | |
branches: [ "main" ] | |
paths-ignore: [ '**.md' ] | |
pull_request: | |
branches: [ "main" ] | |
paths-ignore: [ '**.md' ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: [ '1.21.x', '1.20.x', '1.19.x' ] | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
submodules: true | |
- name: Setup Go environment | |
uses: actions/setup-go@v3.3.0 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install dependencies | |
run: go get . | |
- name: Installing protoc-gen-go | |
run: | | |
go get github.com/golang/protobuf/protoc-gen-go@v1.28 | |
go get google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2 | |
- name: Generate grpc code | |
run: protoc --go_out=. --go-grpc_out=. -I submodules/durabletask-protobuf/protos orchestrator_service.proto | |
- name: Run integration tests | |
run: go test ./tests/... -coverpkg ./api,./task,./client,./backend/...,./internal/helpers |