Skip to content

Bump go.opentelemetry.io/otel/sdk from 1.24.0 to 1.31.0 in /example #419

Bump go.opentelemetry.io/otel/sdk from 1.24.0 to 1.31.0 in /example

Bump go.opentelemetry.io/otel/sdk from 1.24.0 to 1.31.0 in /example #419

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main
pull_request:
jobs:
generate-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- id: set-matrix
run: |
DIRECTORIES=$(find . -type d -not -path '*/\.*' | jq -R -s -c 'split("\n")[:-1]')
echo "matrix=${DIRECTORIES}" >> $GITHUB_OUTPUT
golangci:
name: Lint
needs: generate-matrix
runs-on: ubuntu-latest
strategy:
matrix:
modules: ${{fromJson(needs.generate-matrix.outputs.matrix)}}
steps:
- uses: actions/setup-go@v5
with:
go-version: "~1.22.2"
check-latest: true
cache-dependency-path: "**/go.sum"
- uses: actions/checkout@v4
- uses: golangci/[email protected]
with:
version: latest
working-directory: ${{ matrix.modules }}