Skip to content

[INTG-1601]: Bump google.golang.org/protobuf from 1.35.1 to 1.35.2 #493

[INTG-1601]: Bump google.golang.org/protobuf from 1.35.1 to 1.35.2

[INTG-1601]: Bump google.golang.org/protobuf from 1.35.1 to 1.35.2 #493

Workflow file for this run

# yamllint disable rule:line-length
---
name: Tests
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
pull_request:
types: [opened]
push:
jobs:
Unit-Tests:
runs-on: ubuntu-latest
steps:
- name: Set up Go 2.x
uses: actions/setup-go@v2
with:
go-version: '1.20'
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Test & Coverage
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build
go test -coverprofile c.out.tmp -coverpkg ./... ./...
cat c.out.tmp | grep -v "pb.go" > c.out
./cc-test-reporter after-build --prefix $(go list -m)
- name: Upload Coverage Result Artifact
uses: actions/upload-artifact@v4
with:
name: codeclimate-unit
path: codeclimate.json
retention-days: 1
- uses: actions/setup-python@v2
- name: Run pre commit linting
uses: pre-commit/action@v2.0.0