Skip to content

chore: update OpenTelemetry dependencies to v0.101.0 #576

chore: update OpenTelemetry dependencies to v0.101.0

chore: update OpenTelemetry dependencies to v0.101.0 #576

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
strategy:
fail-fast: false
matrix:
go: [ "1.21", "1.22" ]
package: [ "common", "influx2otel", "otel2influx", "jaeger-influxdb", "tests-integration" ]
exclude:
- go: 1.21
package: jaeger-influxdb
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Test
run: >
cd ${{ matrix.package }} &&
go test ./...
- name: Fmt
run: >
test -z $(gofmt -s -l ./${{ matrix.package }} | head -n 1) || ( gofmt -s -d ./${{ matrix.package }} ; exit 1 )
- name: Vet
run: >
cd ${{ matrix.package }} &&
go vet ./...
- name: staticcheck
run: >
go install honnef.co/go/tools/cmd/[email protected] &&
cd ${{ matrix.package }} &&
staticcheck -f stylish ./...
build-otelcol-influxdb:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: actions/setup-go@v2
with:
go-version: "1.22"
- name: build
run: >
go install go.opentelemetry.io/collector/cmd/[email protected] &&
cd otelcol-influxdb &&
builder --config build.yml