List directory entries using os.ReadDir instead of filepath.Walk
parent
5ef29d8865
commit
8bd74b40a2
@ -1,20 +0,0 @@
|
||||
image: golang:latest
|
||||
|
||||
stages:
|
||||
- validate
|
||||
|
||||
fmt:
|
||||
stage: validate
|
||||
script:
|
||||
- gofmt -l -s -e .
|
||||
- exit $(gofmt -l -s -e . | wc -l)
|
||||
|
||||
vet:
|
||||
stage: validate
|
||||
script:
|
||||
- go vet -composites=false ./...
|
||||
|
||||
test:
|
||||
stage: validate
|
||||
script:
|
||||
- go test -race -v ./...
|
Loading…
Reference in New Issue