Skip to content

chore: add godocs

chore: add godocs #13

Workflow file for this run

name: Generate SDK
on:
pull_request:
paths:
- .speakeasy/gen.yaml
types:
- opened
- synchronize
jobs:
generate:
permissions:
contents: write
runs-on:
- ubuntu-latest
steps:
- name: Install Speakeasy
uses: mheap/setup-go-cli@v1
with:
owner: speakeasy-api
repo: speakeasy
cli_name: speakeasy
package_type: zip
- name: Checkout current repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Configure speakeasy CLI
run: |
mkdir -p ~/.speakeasy
echo 'speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}' > ~/.speakeasy/config.yaml
- uses: jdx/mise-action@v2
with:
install: false
- name: Generate SDK
run: make generate.sdk
- name: Commit SDK changes to the PR
uses: EndBug/add-and-commit@v9
with:
add: .
default_author: github_actor
message: Update provider based on openapi.yaml changes