mirror of
https://gitea.com/gitea/tea.git
synced 2024-11-25 20:11:36 +01:00
c4e2db32b5
added comment to clarify coding choices added package xdg to vendor folder rewrote config file path search Co-authored-by: crapStone <crapstone01@gmail.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/219 Reviewed-by: 6543 <6543@noreply.gitea.io> Reviewed-by: Norwin <noerw@noreply.gitea.io>
20 lines
364 B
YAML
20 lines
364 B
YAML
language: go
|
|
go:
|
|
- 1.11.x
|
|
- 1.12.x
|
|
- 1.13.x
|
|
os:
|
|
- linux
|
|
- osx
|
|
- windows
|
|
env:
|
|
- GO111MODULE=on
|
|
git:
|
|
autocrlf: false
|
|
before_install:
|
|
- go get -t -v ./...
|
|
- go install github.com/golangci/golangci-lint/cmd/golangci-lint
|
|
script:
|
|
- golangci-lint run --enable-all -D wsl -D gochecknoinits -D gochecknoglobals -D prealloc
|
|
- go test -v -race ./...
|