Skip to content

Update opentelemetry-go monorepo to v1.28.0 #643

Update opentelemetry-go monorepo to v1.28.0

Update opentelemetry-go monorepo to v1.28.0 #643

Workflow file for this run

name: Go
on:
push:
branches: [master, v2, v3]
paths:
- "**.go"
- "**.mod"
- "**.sum"
- "**.yml"
pull_request:
branches: [master, v2, v3]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
id: go
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: latest
github-token: ${{ github.token }}
only-new-issues: true
- name: Get dependencies
run: go mod vendor
- name: Go Test
run: go test -timeout 120s -coverprofile=coverage.out
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_TOKEN }}
coverage-reports: "coverage.out"
force-coverage-parser: go
language: go