fix(sql): Forecast table index (#114) #26
Workflow file for this run
This file contains hidden or 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: Generate Client Bindings | |
| on: | |
| push: | |
| tags: ['v*.*.*'] | |
| jobs: | |
| gen: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Set up Go | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| cache-dependency-path: go.sum | |
| - name: Get go paths | |
| id: gobin | |
| run: echo "path=$(go env GOPATH)/bin" >> "$GITHUB_OUTPUT" | |
| - name: Restore gobin cache | |
| uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| with: | |
| path: ${{ steps.gobin.outputs.path }} | |
| key: ${{ runner.os }}-gobin-${{ hashfiles('Makefile') }} | |
| - name: Set up UV | |
| uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # v6.4.3 | |
| with: | |
| enable-cache: false | |
| - name: Generate bindings | |
| run: make gen.proto.python | |
| - name: Upload python dist | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 | |
| with: | |
| name: python-dist-${{ github.ref_name }} | |
| path: gen/python/dist/* | |
| if-no-files-found: error | |
| retention-days: 10 | |
| overwrite: true | |
| - name: Save gobin cache | |
| uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| with: | |
| path: ${{ steps.gobin.outputs.path }} | |
| key: ${{ runner.os }}-gobin-${{ hashfiles('Makefile') }} |