Skip to content

Commit

Permalink
chore: regenerate SDK (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
davex98 authored Jul 27, 2023
1 parent 2992867 commit 5fd9bc8
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 304 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/doc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Generate SDK and Docs
on:
pull_request:
jobs:
generate-sdk:
name: Check if SDK is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19.5
- uses: actions/checkout@v3
- name: Check SDK
run: |
make generate-sdk
if [[ -n $(git status -s) ]]
then
echo "SDK is not up to date, regenerate it by running 'make generate-sdk' and commit your changes."
exit 1
fi
generate-docs:
name: Check if documentation is up to date
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.19.5
- uses: actions/checkout@v3
- name: Check SDK
run: |
make generate-docs
if [[ -n $(git status -s) ]]
then
echo "Documentation is not up to date, regenerate it by running 'make generate-docs' and commit your changes."
exit 1
fi
234 changes: 0 additions & 234 deletions castai/sdk/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5fd9bc8

Please sign in to comment.