Skip to content

feat: update module google.golang.org/grpc to v1.68.0 #594

feat: update module google.golang.org/grpc to v1.68.0

feat: update module google.golang.org/grpc to v1.68.0 #594

Workflow file for this run

name: CI
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v1.24.0
args: release --snapshot --clean
lint:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: golangci/golangci-lint-action@v6
with:
version: v1.58.1
args: --timeout 3m
test:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run tests
run: go run github.com/onsi/ginkgo/v2/ginkgo -r -cover -race -covermode=atomic -randomize-all -randomize-suites
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: coverprofile.out
token: ${{ secrets.CODECOV_TOKEN }}
release:
runs-on: ubuntu-latest
needs:
- test
- lint
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: go-semantic-release/action@v1
with:
allow-initial-development-versions: true
hooks: goreleaser
changelog-file: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}