From b1d39009c6fe7250d8983d7c74b7abe4970c9ee2 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 6 Sep 2024 11:18:54 +0200 Subject: [PATCH] chore: fix linters warnings Signed-off-by: Valery Piashchynski --- .github/workflows/linters.yml | 4 ++-- .github/workflows/linux.yml | 2 +- .golangci.yml | 2 +- pkg/rpc/client.go | 4 ++-- pkg/rpc/codec.go | 18 +++++++++--------- pkg/socket/socket_test.go | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 9a03e58..307fe76 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -3,7 +3,7 @@ name: Linters on: [push, pull_request] jobs: - golangci-lint: + linters: name: Golang-CI (lint) runs-on: ubuntu-latest steps: @@ -18,5 +18,5 @@ jobs: - name: Run linter uses: golangci/golangci-lint-action@v6.1.0 # Action page: with: - version: v1.60 # without patch version + version: v1 # without patch version only-new-issues: false # show only new issues if it's a pull request diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index c805952..1beebc4 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -3,7 +3,7 @@ name: Linux on: [push, pull_request] jobs: - build: + testing: name: Tests [Go ${{ matrix.go }} OS ${{ matrix.os }}] runs-on: ${{ matrix.os }} timeout-minutes: 20 diff --git a/.golangci.yml b/.golangci.yml index fd856a9..1b553da 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -39,7 +39,7 @@ linters: # All available linters list: