Skip to content

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.28.0 (#106) #104

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.28.0 (#106)

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.28.0 (#106) #104

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # 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@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
with:
fail_ci_if_error: true
directory: ${{github.workspace}}
files: coverage.out
use_oidc: true