Skip to content

feat: update module google.golang.org/grpc to v1.65.0 - autoclosed #518

feat: update module google.golang.org/grpc to v1.65.0 - autoclosed

feat: update module google.golang.org/grpc to v1.65.0 - autoclosed #518

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'
- run: go test -v ./...
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 }}