Bump google.golang.org/grpc from 1.45.0 to 1.58.1 in /exporter/skywalkingexporter #1437
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: build-and-test-windows | |
on: | |
push: | |
branches: [ main ] | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+*' | |
pull_request: | |
env: | |
TEST_RESULTS: testbed/tests/results/junit/results.xml | |
jobs: | |
windows-unittest: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.17 | |
- name: Setup Go Environment | |
run: | | |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV | |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
shell: bash | |
- name: Cache Go | |
uses: actions/cache@v3 | |
with: | |
path: | | |
\Users\runneradmin\go\pkg\mod | |
%LocalAppData%\go-build | |
key: v1-go-pkg-mod-${{ runner.os }}-${{ hashFiles('**/go.mod', '**/go.sum') }} | |
- name: Run Unit tests | |
# use default Go build tags from Makefile.common | |
run: go test --tags containers_image_openpgp,exclude_graphdriver_btrfs,exclude_graphdriver_devicemapper ./... | |
- name: GitHub Issue Generator | |
if: ${{ failure() && github.ref == 'ref/head/main' }} | |
run: | | |
cd internal/tools && go install go.opentelemetry.io/collector/cmd/issuegenerator | |
issuegenerator $TEST_RESULTS |