Skip to content

Commit

Permalink
Merge pull request #444 from zigbee-alliance/downgrade-golangci-lint
Browse files Browse the repository at this point in the history
downgrade golangci-lint
  • Loading branch information
ashcherbakov authored Mar 2, 2023
2 parents 65e0fc5 + 4eacbd0 commit 97d9d5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ jobs:
with:
go-version: 1.17
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v3.1.0
with:
version: latest
version: v1.46.0
args: --timeout 5m0s
check:
if: always()
Expand Down
14 changes: 1 addition & 13 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,7 @@
# limitations under the License.

linters:
enable:
- errcheck
- gosimple
- govet
- ineffassign
- staticcheck
- typecheck
- unused
enable-all: true
disable:
- golint # The linter 'golint' is deprecated (since v1.41.0) due to: The repository of the linter has been archived by the owner. Replaced by revive.
- gochecknoinits
Expand Down Expand Up @@ -56,8 +49,3 @@ linters:
- execinquery
- nonamedreturns
- exhaustruct
- nosnakecase
- dupword
- nolintlint
- gofmt
- gofumpt
1 change: 0 additions & 1 deletion integration_tests/deploy/test_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ make test_deploy_env_build
GVN_IP="$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $GVN_NAME)"
VN_IP="$(docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $VN_NAME)"


test_divider

echo "CLUSTER NODES PREPARATION"
Expand Down
4 changes: 1 addition & 3 deletions x/compliance/types/genesis.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package types

import (
"fmt"
)
import "fmt"

// DefaultIndex is the default capability global index.
const DefaultIndex uint64 = 1
Expand Down

0 comments on commit 97d9d5c

Please sign in to comment.