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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user