Skip to content

Update opentelemetry-go monorepo to v1.28.0 #11

Update opentelemetry-go monorepo to v1.28.0

Update opentelemetry-go monorepo to v1.28.0 #11

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
golangci-lint-version: v1.46.2
jobs:
build:
name: Build, test and lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/[email protected]
with:
go-version: 1.22.4
cache-dependency-path: ./go.sum
- name: Build
run: go build .
- name: Test
run: go test ./...
# Disable lint step temporarily. Need to migrate it to tools/go.mod
# - name: Lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: ${{ env.golangci-lint-version }}
- name: Format
run: |
go fmt ./...
git diff --exit-code .