mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 10:53:09 -06:00
test
This commit is contained in:
parent
6e79295822
commit
0b540635b7
|
|
@ -31,7 +31,8 @@ steps:
|
||||||
- "./scripts/find-lint.sh"
|
- "./scripts/find-lint.sh"
|
||||||
label: ":lower_left_crayon: Lint / :go: 1.12"
|
label: ":lower_left_crayon: Lint / :go: 1.12"
|
||||||
env:
|
env:
|
||||||
GOGC: 5 # https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
|
# https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
|
||||||
|
GOGC: 5
|
||||||
plugins:
|
plugins:
|
||||||
- docker#v3.0.1:
|
- docker#v3.0.1:
|
||||||
image: "golang:1.12"
|
image: "golang:1.12"
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,13 @@
|
||||||
# Runs the linters against dendrite
|
# Runs the linters against dendrite
|
||||||
|
|
||||||
# The linters can take a lot of resources and are slow, so they can be
|
# The linters can take a lot of resources and are slow, so they can be
|
||||||
# configured using two environment variables:
|
# configured using the following environment variables:
|
||||||
#
|
#
|
||||||
# - `DENDRITE_LINT_CONCURRENCY` - number of concurrent linters to run,
|
# - `DENDRITE_LINT_CONCURRENCY` - number of concurrent linters to run,
|
||||||
# golangci-lint defaults this to NumCPU
|
# golangci-lint defaults this to NumCPU
|
||||||
|
# - `GOGC` - how often to perform garbage collection during golangci-lint runs.
|
||||||
|
# Essentially a ratio of memory/speed. See https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
|
||||||
|
# for more info.
|
||||||
|
|
||||||
|
|
||||||
set -eux
|
set -eux
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue