This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.45.0 to 0.46.0 #163
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: On Pull Request | |
on: | |
pull_request: | |
branches: [ master, main ] | |
jobs: | |
test: | |
name: test | |
strategy: | |
matrix: | |
go-version: | |
- 1.20.x | |
- 1.21.x | |
os: [ ubuntu-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Fetch git tags | |
run: git fetch --tags | |
- name: Version consistency check | |
run: ./contrib/check-version.sh | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- run: go env | |
- name: Cache deps | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Install deps | |
run: go mod download | |
- name: Test | |
run: go test -v -race -p=1 -count=1 |