fix: add target type to codeSamples namespaces #209
Workflow file for this run
This file contains 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: 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 ./... |