Skip to content

go: bump go version to 1.23 #56

go: bump go version to 1.23

go: bump go version to 1.23 #56

Workflow file for this run

name: Golangci lint
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.23
- uses: actions/checkout@v4
- name: Setup protoc
run: sudo apt install -y protobuf-compiler
- name: Protoc version
run: protoc --version
- run: go install google.golang.org/protobuf/[email protected]
- name: Install protocol compiler plugins
run: go install google.golang.org/protobuf/cmd/[email protected]
- run: go install google.golang.org/grpc/[email protected]
- run: go install google.golang.org/grpc/cmd/[email protected]
- name: Run protoc
run: |
protoc api/v1/*.proto --go_out=. --go-grpc_out=. \
--go_opt=paths=source_relative \
--go-grpc_opt=paths=source_relative \
--proto_path=.
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --enable lll
version: latest