Skip to content

Sync provider-axis SDK with latest Docs for Suno/TikTok/TW and shorturl request schema #162

Sync provider-axis SDK with latest Docs for Suno/TikTok/TW and shorturl request schema

Sync provider-axis SDK with latest Docs for Suno/TikTok/TW and shorturl request schema #162

Workflow file for this run

name: Go CI
on:
pull_request:
paths:
- "go/**"
- ".github/workflows/go.yml"
push:
branches: [main]
paths:
- "go/**"
- ".github/workflows/go.yml"
jobs:
test:
name: Go ${{ matrix.go-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: ["1.21", "1.22", "1.23"]
defaults:
run:
working-directory: go
steps:
- uses: actions/checkout@v5
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache-dependency-path: go/go.sum
- name: go mod download
run: go mod download
- name: go vet
run: go vet ./...
- name: go build
run: go build ./...
- name: go test
run: go test -race -count=1 ./...