Skip to content

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel/trace to v1.31.0 (#120) #118

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel/trace to v1.31.0 (#120)

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel/trace to v1.31.0 (#120) #118

Workflow file for this run

name: Tests
on:
push:
branches: main
workflow_call:
jobs:
test:
permissions:
id-token: write
checks: read
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
with:
go-version-file: ${{github.workspace}}/go.mod
cache: true
- name: Setup gotestfmt
uses: gotesttools/gotestfmt-action@v2
with:
token: ${{github.token}}
- name: Run Tests
run: >-
go test -v ./...
-json
-coverprofile coverage.out
-cover ${{github.workspace}}
2>&1 | gotestfmt
- name: Upload Code Coverage
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
fail_ci_if_error: true
directory: ${{github.workspace}}
files: coverage.out
use_oidc: true