Update opentelemetry-go monorepo to v1.32.0 #98
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
- name: Build otelinit | |
run: go build -v ./... | |
- name: Build test stub | |
working-directory: ./cmd/test-otel-init-go | |
run: go build -v | |
- name: Install otel-cli for tests | |
uses: engineerd/[email protected] | |
with: | |
name: "otel-cli" | |
pathInArchive: /otel-cli | |
url: "https://github.com/equinix-labs/otel-cli/releases/download/v0.0.5/otel-cli-0.0.5-Linux-x86_64.tar.gz" | |
- name: Test | |
run: go test -v ./... |