Skip to content

deps: bump go.opentelemetry.io/otel from 1.37.0 to 1.40.0 #7768

deps: bump go.opentelemetry.io/otel from 1.37.0 to 1.40.0

deps: bump go.opentelemetry.io/otel from 1.37.0 to 1.40.0 #7768

name: golangci-lint
on:
merge_group:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
golangci:
strategy:
fail-fast: false
matrix:
goos: ["linux", "windows"]
goarch: ["amd64", "arm64"]
name: Lint
runs-on: ubuntu-latest
env:
IS_NOT_MERGE_GROUP: ${{ github.event_name != 'merge_group' }}
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: env.IS_NOT_MERGE_GROUP
with:
fetch-depth: 0
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
if: env.IS_NOT_MERGE_GROUP
with:
go-version-file: go.mod
- name: golangci-lint
if: env.IS_NOT_MERGE_GROUP
uses: golangci/golangci-lint-action@v9
with:
version: latest
args: --concurrency 4 --verbose --config=.golangci.yaml --timeout=25m
only-new-issues: true
skip-cache: true