feat: support function timeout property #628
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: Verify Go client | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
verify-go: | |
name: Verify go client source code is up to date | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
go_version: [1.20.x] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go ${{ matrix.go_version }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go_version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: make all | |
- name: Check for changes | |
run: | | |
if [ -z "$(git status --porcelain)" ]; then | |
echo "No changes to the go client source files detected" | |
else | |
echo "Changes to the go client source files detected, please run 'make all' and push your changes" | |
exit 1 | |
fi |