mod+GitHub: shorten PR template, bump golang to 1.15
The golang version always needs to be in sync between the go.mod, the PR checklist and the installation instructions. We also shorten the Pull Request template by removing everything that we have a CI check for and just refer to those checks instead.
This commit is contained in:
parent
306da010d8
commit
5482451297
30
.github/pull_request_template.md
vendored
30
.github/pull_request_template.md
vendored
@ -1,27 +1,11 @@
|
||||
#### Pull Request Checklist
|
||||
|
||||
- [ ] If this is your first time contributing, we recommend you read the [Code
|
||||
Contribution Guidelines](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md)
|
||||
- [ ] All changes are Go version 1.12 compliant
|
||||
- [ ] All changes are Go version 1.15 compliant
|
||||
- [ ] Your PR passes all CI checks. If a check cannot be passed for a justifiable reason, that reason must be stated in the commit message and PR description.
|
||||
- [ ] If this is your first time contributing, we recommend you read the [Code Contribution Guidelines](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md)
|
||||
- [ ] The code being submitted is commented according to [Code Documentation and Commenting](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#CodeDocumentation)
|
||||
- [ ] For new code: Code is accompanied by tests which exercise both
|
||||
the positive and negative (error paths) conditions (if applicable)
|
||||
- [ ] For bug fixes: Code is accompanied by new tests which trigger
|
||||
the bug being fixed to prevent regressions
|
||||
- [ ] Any new logging statements use an appropriate subsystem and
|
||||
logging level
|
||||
- [ ] Code has been formatted with `go fmt`
|
||||
- [ ] Protobuf files (`lnrpc/**/*.proto`) have been formatted with
|
||||
`make rpc-format` and compiled with `make rpc`
|
||||
- [ ] New configuration flags have been added to `sample-lnd.conf`
|
||||
- [ ] For code and documentation: lines are wrapped at 80 characters
|
||||
(the tab character should be counted as 8 characters, not 4, as some IDEs do
|
||||
per default)
|
||||
- [ ] Running `make check` does not fail any tests
|
||||
- [ ] Running `go vet` does not report any issues
|
||||
- [ ] Running `make lint` does not report any **new** issues that did not
|
||||
already exist
|
||||
- [ ] All commits build properly and pass tests. Only in exceptional
|
||||
cases it can be justifiable to violate this condition. In that case, the
|
||||
reason should be stated in the commit message.
|
||||
- [ ] Commits have a logical structure according to [Ideal Git Commit Structure](https://github.com/lightningnetwork/lnd/blob/master/docs/code_contribution_guidelines.md#IdealGitCommitStructure)
|
||||
- [ ] For new code: Code is accompanied by tests which exercise both the positive and negative (error paths) conditions (if applicable)
|
||||
- [ ] For bug fixes: If possible, code is accompanied by new tests which trigger the bug being fixed to prevent regressions
|
||||
- [ ] Any new logging statements use an appropriate subsystem and logging level
|
||||
- [ ] For code and documentation: lines are wrapped at 80 characters (the tab character should be counted as 8 characters, not 4, as some IDEs do per default)
|
||||
|
@ -10,8 +10,11 @@ added.
|
||||
# Code Health
|
||||
|
||||
## Code cleanup, refactor, typo fixes
|
||||
|
||||
* [Unused error check
|
||||
removed](https://github.com/lightningnetwork/lnd/pull/5537).
|
||||
* [Shorten Pull Request check list by referring to the CI checks that are
|
||||
in place](https://github.com/lightningnetwork/lnd/pull/5545)
|
||||
|
||||
# Contributors (Alphabetical Order)
|
||||
ErikEk
|
2
go.mod
2
go.mod
@ -83,4 +83,6 @@ replace git.schwanenlied.me/yawning/bsaes.git => github.com/Yawning/bsaes v0.0.0
|
||||
// See https://github.com/etcd-io/etcd/issues/11154
|
||||
replace go.etcd.io/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20201125193152-8a03d2e9614b
|
||||
|
||||
// If you change this please also update .github/pull_request_template.md and
|
||||
// docs/INSTALL.md.
|
||||
go 1.15
|
||||
|
Loading…
Reference in New Issue
Block a user