mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 15:02:10 -08:00
6a3fc71397
* Update dependencies and go1.18 * Exclude unnecessary linters and update build to go1.18
34 lines
751 B
YAML
34 lines
751 B
YAML
box: golang
|
|
build:
|
|
steps:
|
|
- setup-go-workspace
|
|
- script:
|
|
name: go version
|
|
code: go version
|
|
- script:
|
|
name: install tools
|
|
code: |
|
|
go install github.com/mattn/goveralls@latest
|
|
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
|
- script:
|
|
name: go get
|
|
code: |
|
|
go get ./...
|
|
- script:
|
|
name: go build
|
|
code: |
|
|
go build ./...
|
|
- script:
|
|
name: golangci-lint
|
|
code: |
|
|
golangci-lint run
|
|
- script:
|
|
name: go test
|
|
code: |
|
|
go test ./...
|
|
- script:
|
|
name: coveralls
|
|
code: |
|
|
goveralls -v -service wercker.com -repotoken $COVERALLS_TOKEN
|
|
|