build(deps): Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.38.0 to 0.46.0 #59
Workflow file for this run
This file contains 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: Test Engine Compatibility | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
GO_VERSION: 1.18 | |
permissions: | |
checks: write | |
contents: read | |
jobs: | |
test-compatibility: | |
runs-on: ubuntu-latest | |
services: | |
mongodb-compatibility: | |
image: mongo:5.0.18 | |
ports: | |
- "27017:27017" | |
redis-compatibility: | |
image: redis:5.0.14 | |
ports: | |
- 6379:6379 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- uses: actions/checkout@v3 | |
- name: Cache Go modules | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-golang- | |
- name: Install mockgen | |
run: go install github.com/golang/mock/mockgen@latest | |
- name: Install gotestsum | |
run: go install gotest.tools/gotestsum@latest | |
- name: Generate Mocks | |
run: make gen-mocks | |
- name: Generate TLS certificates | |
run: make gen-cert | |
- name: Go mod tidy | |
run: go mod tidy | |
- name: Make test | |
run: make integration-test | |
- name: Publish test results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: gotest.out | |
path: gotest.out | |
- name: Publish JUnit report | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: junit.xml | |
path: junit.xml | |
- name: JUnit report action | |
uses: mikepenz/action-junit-report@v3 | |
if: always() | |
with: | |
report_paths: junit.xml | |
job_name: test-compatibility | |
check_name: JUnit Engine Compatibility Report |