Skip to content

Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp #67

Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp

Bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp #67

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Check formatting
run: |
files=$(gofmt -l .)
if [[ $files != "" ]]; then
echo "Files need gofmt run on them:"
echo "$files"
exit 1
fi
- name: Build binary
run: |
go build ./cmd/...
- name: Check flags are documented
run: |
./test/flags-doc.sh
- name: Run tests
run: |
go test ./...