Skip to content

chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o… #6

chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…

chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o… #6

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Lint Go Code
uses: golangci/golangci-lint-action@v4
with:
version: latest
skip-cache: false
skip-pkg-cache: false
skip-build-cache: false
args: --timeout 3m --verbose --print-issued-lines=true --skip-dirs example --skip-files ".*_test.go"
- name: Build
run: go build ./...
- name: Test
run: go test -race -cover ./...
- name: Build example container images
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}