Skip to content

chore(deps): bump google.golang.org/protobuf from 1.35.2 to 1.36.1 #55

chore(deps): bump google.golang.org/protobuf from 1.35.2 to 1.36.1

chore(deps): bump google.golang.org/protobuf from 1.35.2 to 1.36.1 #55

Workflow file for this run

name: Check
on:
push:
branches: [ "main" ]
tags: [ "v*" ]
pull_request:
branches: [ "main" ]
jobs:
testdata:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up buf
uses: bufbuild/buf-action@v1
with:
setup_only: true
- name: Format
run: |
cd testdata
buf format --diff --exit-code
- name: Lint
run: |
cd testdata
buf lint
- name: Generate
run: |
cd testdata
buf generate
git add --all && git diff --name-only --exit-code HEAD
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Tidy
run: |
go mod tidy
git add --all && git diff --name-only --exit-code HEAD
- name: Format
run: |
go fmt ./...
git add --all && git diff --name-only --exit-code HEAD
- name: Generate
run: |
go generate ./...
git add --all && git diff --name-only --exit-code HEAD
- name: Vet
run: go vet -v ./...
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
- name: Build
run: go build -v ./...
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Test
run: |
PACKAGES=$(go list ./... | grep -v /testdata)
go test -race -coverpkg=$(echo $PACKAGES | tr ' ' ',') -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}