Skip to content

Add project-scoped vault payment commands #1028

Add project-scoped vault payment commands

Add project-scoped vault payment commands #1028

Workflow file for this run

name: Run tests for the CLI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
cache: false
- name: Create read-only token for the preview SDK
id: sdk-token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.ADMIN_APP_ID }}
private-key: ${{ secrets.ADMIN_APP_PRIVATE_KEY }}
repositories: kernel-go-sdk-staging
permission-contents: read
- name: Run tests
env:
GOPRIVATE: github.com/kernel/kernel-go-sdk-staging
GH_TOKEN: ${{ steps.sdk-token.outputs.token }}
run: |
gh auth setup-git
make test