mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 13:53:09 -06:00
Merge branch 'master' into kegan/awsy-docs
This commit is contained in:
commit
99e1969e2d
|
|
@ -12,9 +12,9 @@ directive](https://github.com/golangci/golangci-lint#nolint), e.g. `var
|
||||||
bad_name int //nolint:golint,unused`. This should be used sparingly and only
|
bad_name int //nolint:golint,unused`. This should be used sparingly and only
|
||||||
when its clear that the lint warning is spurious.
|
when its clear that the lint warning is spurious.
|
||||||
|
|
||||||
The linters can be run using [scripts/find-lint.sh](scripts/find-lint.sh)
|
The linters can be run using [build/scripts/find-lint.sh](/build/scripts/find-lint.sh)
|
||||||
(see file for docs) or as part of a build/test/lint cycle using
|
(see file for docs) or as part of a build/test/lint cycle using
|
||||||
[scripts/build-test-lint.sh](scripts/build-test-lint.sh).
|
[build/scripts/build-test-lint.sh](/build/scripts/build-test-lint.sh).
|
||||||
|
|
||||||
|
|
||||||
## Labels
|
## Labels
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ To save waiting for CI to finish after every commit, it is ideal to run the
|
||||||
checks locally before pushing, fixing errors first. This also saves other people
|
checks locally before pushing, fixing errors first. This also saves other people
|
||||||
time as only so many PRs can be tested at a given time.
|
time as only so many PRs can be tested at a given time.
|
||||||
|
|
||||||
To execute what Buildkite tests, first run `./scripts/build-test-lint.sh`; this
|
To execute what Buildkite tests, first run `./build/scripts/build-test-lint.sh`; this
|
||||||
script will build the code, lint it, and run `go test ./...` with race condition
|
script will build the code, lint it, and run `go test ./...` with race condition
|
||||||
checking enabled. If something needs to be changed, fix it and then run the
|
checking enabled. If something needs to be changed, fix it and then run the
|
||||||
script again until it no longer complains. Be warned that the linting can take a
|
script again until it no longer complains. Be warned that the linting can take a
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue