Skip to content

Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrp… #357

Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrp…

Bump go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrp… #357

Workflow file for this run

name: test
on:
pull_request: null
push:
branches:
- main
jobs:
license-check:
runs-on: ubuntu-latest
name: License header check
steps:
- uses: actions/checkout@v3
- run: ./license_check.sh
fmt-check:
runs-on: ubuntu-latest
name: "`gofmt` check"
steps:
- uses: actions/checkout@v3
- uses: Jerome1337/gofmt-action@v1.0.5
tests:
strategy:
matrix:
goversion: ['1.22', '1.23']
os: ['ubuntu-latest', 'windows-latest']
name: Go ${{ matrix.goversion }} (${{ matrix.os}}) tests
runs-on: ${{ matrix.os }}
env:
SW_APM_DEBUG_LEVEL: 1
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.goversion }}
- name: Install dependencies
run: |
go get golang.org/x/tools/cmd/cover
go get github.com/mattn/goveralls
go install github.com/wadey/gocovmerge@latest
go get -t -v ./...
- name: Go vet
run: go vet ./...
- name: Run tests
run: make test