Skip to content

Commit

Permalink
lint: suppress keyless mongo index warn
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Dec 9, 2021
1 parent 6e22acc commit 596eac5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: set up go 1.14
- name: set up go 1.17
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.17
id: go

- name: launch mongodb
Expand All @@ -36,7 +36,7 @@ jobs:
- name: install golangci-lint and goveralls
run: |
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.41.0
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.43.0
GO111MODULE=off go get -u -v github.com/mattn/goveralls
- name: run linters
Expand Down
6 changes: 3 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ issues:
- text: "weak cryptographic primitive"
linters:
- gosec

service:
golangci-lint-version: 1.41.x
- text: "go.mongodb.org/mongo-driver/bson/primitive.E"
linters:
- govet

0 comments on commit 596eac5

Please sign in to comment.