Skip to content

set X-Cloud-Trace-Context header on prober requests to help log corre… #44

set X-Cloud-Trace-Context header on prober requests to help log corre…

set X-Cloud-Trace-Context header on prober requests to help log corre… #44

Workflow file for this run

name: Prober Unit Test
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'cmd/prober/**'
permissions:
contents: read
jobs:
prober-test:
name: 'Prober test'
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: 'Checkout'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.21'
check-latest: true
- name: Prober test
id: prober-test
run: go run ./cmd/prober --one-time --write-prober --logStyle dev