build(deps): Bump go.opentelemetry.io/otel/sdk from 1.28.0 to 1.40.0 in the go_modules group across 1 directory #269
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - "**.md" | |
| pull_request: | |
| paths-ignore: | |
| - "**.md" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Unit Tests | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Clone the code | |
| uses: actions/checkout@v4.2.2 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5.4.0 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Install go-task | |
| run: | | |
| sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d -b /usr/local/bin | |
| - name: Install controller-gen and kustomize | |
| run: | | |
| CONTROLLER_GEN_VERSION=v0.17.2 | |
| KUSTOMIZE_VERSION=v5.6.0 | |
| ENVTEST_VERSION=latest | |
| go install sigs.k8s.io/controller-tools/cmd/controller-gen@${CONTROLLER_GEN_VERSION} | |
| go install sigs.k8s.io/kustomize/kustomize/v5@${KUSTOMIZE_VERSION} | |
| go install sigs.k8s.io/controller-runtime/tools/setup-envtest@${ENVTEST_VERSION} | |
| controller-gen --version || (echo "controller-gen not installed" && exit 1) | |
| kustomize version || (echo "kustomize not installed" && exit 1) | |
| setup-envtest version || (echo "setup-envtest not installed" && exit 1) | |
| - name: Running Tests | |
| run: | | |
| go mod tidy | |
| task test |