mirror of
https://github.com/idanoo/go-flat-finder
synced 2025-07-01 05:32:17 +00:00
Add linting
This commit is contained in:
parent
2607b23dcd
commit
b5d5f80b7d
3 changed files with 3 additions and 10 deletions
|
@ -6,4 +6,3 @@ pipeline:
|
|||
|
||||
depends_on:
|
||||
- lint
|
||||
- test
|
|
@ -2,4 +2,6 @@ pipeline:
|
|||
lint:
|
||||
image: golang:1.19.1
|
||||
commands:
|
||||
- go mod tidy
|
||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0
|
||||
- golangci-lint --version
|
||||
- golangci-lint run
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
pipeline:
|
||||
tests:
|
||||
image: golang:1.19.1
|
||||
commands:
|
||||
- go mod tidy
|
||||
|
||||
depends_on:
|
||||
- lint
|
Loading…
Add table
Add a link
Reference in a new issue