Skip to content

Update opentelemetry-go monorepo to v1.26.0 #627

Update opentelemetry-go monorepo to v1.26.0

Update opentelemetry-go monorepo to v1.26.0 #627

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@v4
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: Coverage
uses: brpaz/[email protected]
with:
reportPath: "coverage.out"
codacyToken: ${{ secrets.CODACY_TOKEN }}
commitId: ${{ github.sha }}
# - name: Bump version and push tag
# if: github.ref == 'refs/heads/master'
# uses: mathieudutour/[email protected]
# with:
# github_token: ${{ secrets.token }}