chore: lint main with latest golangci-lint (#1419)

* bump golang and linter in ci

* cleanup lints

* use go 1.19

* don't use depguard, it causes problems with golangci-lint v1.53.1
This commit is contained in:
Jacob Gadikian
2023-06-06 14:17:35 +08:00
committed by GitHub
parent 5537735e00
commit 7500f5d625
4 changed files with 19 additions and 20 deletions

View File

@@ -61,7 +61,7 @@ jobs:
lint:
docker:
- image: golangci/golangci-lint:v1.50.1
- image: golangci/golangci-lint:v1.52.2
steps:
- checkout
- run:
@@ -171,7 +171,7 @@ jobs:
fi
- when:
condition:
equal: [ main, << pipeline.git.branch >> ]
equal: [main, << pipeline.git.branch >>]
steps:
- run:
name: Push application Docker image to docker hub