Skip to content

build(deps): bump go.opentelemetry.io/otel from 1.39.0 to 1.43.0 #25

build(deps): bump go.opentelemetry.io/otel from 1.39.0 to 1.43.0

build(deps): bump go.opentelemetry.io/otel from 1.39.0 to 1.43.0 #25

Workflow file for this run

name: build
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
go-version: [1.24, 1.25]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Golang ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
id: go
- uses: actions/cache@v5
with:
path: |
${{ matrix.go-build }}
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test and generate coverage
env:
TZ: Asia/Shanghai
run: |
make test
make cover
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./cover.out
flags: os-${{ runner.os }},go-${{ matrix.go-version }}
fail_ci_if_error: true
verbose: true
token: ${{ secrets.CODECOV_TOKEN }}