Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliaksandr Mianzhynski committed Dec 14, 2021
1 parent e9689ef commit 2dbc63f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Test and Lint
on:
push:
branches:
- actions
- master
pull_request:
branches:
- master
workflow_dispatch:

Expand Down Expand Up @@ -32,5 +34,5 @@ jobs:
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.37
args: --enable=goimports,gofumpt,whitespace,gocritic,scopelint
version: v1.43
args: --enable=goimports,gofumpt,whitespace,exportloopref
2 changes: 1 addition & 1 deletion iotdevice/transport/mqtt/mqtt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestParseTwinPropsTopic(t *testing.T) {
}

func TestEncodePropertiesHandleSpaces(t *testing.T) {
var cases = []struct {
cases := []struct {
key string
value string
expected string
Expand Down

0 comments on commit 2dbc63f

Please sign in to comment.