fix(deps): update module google.golang.org/protobuf to v1.35.2 #945
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Setup | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Get dependencies | |
run: go mod download | |
# otel-cli's main test needs the binary built ahead of time | |
# also this validates it can acutally build before we get there | |
- name: Build | |
# build with -s -w to reduce binary size and verify that build in test | |
run: go build -v -ldflags="-s -w -X main.version=test -X main.commit=${{ github.sha }}" | |
- name: Test | |
run: go test -v -cover -parallel 4 ./... |