chore(deps): bump go.opentelemetry.io/otel/sdk from 1.42.0 to 1.43.0 #32
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: ci | |
| on: | |
| push: | |
| branches: [ "**" ] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.26.1" | |
| - name: Go env | |
| run: go env | |
| - name: Tidy check | |
| run: | | |
| go mod tidy | |
| git diff --exit-code | |
| - name: Test | |
| run: go test ./... -race | |
| - name: Install golangci-lint | |
| run: | | |
| GOBIN=$(go env GOPATH)/bin go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.6 | |
| - name: Lint | |
| run: $(go env GOPATH)/bin/golangci-lint run | |
| - name: Install govulncheck | |
| run: go install golang.org/x/vuln/cmd/govulncheck@latest | |
| - name: Vulnerability scan | |
| run: govulncheck ./... | |
| - name: Install CycloneDX SBOM tool | |
| run: go install github.com/CycloneDX/cyclonedx-gomod/cmd/cyclonedx-gomod@latest | |
| - name: Generate SBOM | |
| run: cyclonedx-gomod mod -licenses -json -output sbom.cdx.json | |
| - name: Upload SBOM artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: sbom-cyclonedx | |
| path: sbom.cdx.json |