Skip to content

fix: add target type to codeSamples namespaces #209

fix: add target type to codeSamples namespaces

fix: add target type to codeSamples namespaces #209

Workflow file for this run

name: Test
on:
push:
branches:
- main
merge_group:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
env:
GOPRIVATE: "github.com/speakeasy-api"
jobs:
test:
timeout-minutes: 15
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
actions: "read"
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ^1.21
- name: Configure git for private modules
env:
GIT_AUTH_TOKEN: ${{ secrets.BOT_REPO_TOKEN }}
run: git config --global url."https://speakeasybot:${GIT_AUTH_TOKEN}@github.com".insteadOf "https://github.com"
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Test
run: go test -v ./...