mirror of
https://github.com/idanoo/go-flat-finder.git
synced 2024-11-23 16:55:17 +00:00
Add linting
This commit is contained in:
parent
2607b23dcd
commit
b5d5f80b7d
@ -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…
Reference in New Issue
Block a user