Skip to content

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.19.0 #64

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.19.0

⬆️ Update 🐹 Go Module go.opentelemetry.io/otel to v1.19.0 #64

Workflow file for this run

name: Tests
on:
push:
branches: main
workflow_call:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
- name: Setup Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
fail_ci_if_error: true
directory: ${{github.workspace}}
files: coverage.out