Commit Graph

128 Commits

Author SHA1 Message Date
Mohamed Awnallah
1402ffd17b
protolint: configure protolint and fix the protolinting issues
This PR addresses the following:
- Install and Configure protolint to enforce the protobuf style guide rules in the CI.
- Fix the protolinting issues (package and import ordering) while maintaining the comaptibility.
2024-01-22 22:00:00 +02:00
Keagan McClelland
a2cb3da145 meta: update PR template to remind contributors about lncli docs 2023-11-20 14:48:26 -07:00
Oliver Gugger
e6fde8bd0c
GitHub: bump pinned versions in CI check 2023-10-26 10:25:35 +02:00
Yong
ca9cdacd5f
github: print debug logs for failed unit tests (#8083) 2023-10-12 12:50:11 +02:00
Oliver Gugger
abb1e3463f
scripts: kill lnd on windows to access log files (#8076)
For some reason lnd doesn't properly shut down on some windows itests,
and the process still running makes it impossible to access its log
files.
So for the Windows integration test, we attempt to kill the whole
process tree once the process indicates it is done.
2023-10-10 16:15:41 +02:00
Oliver Gugger
3b0d918ea4
GitHub: fix link in release template
Fixes #8055.
This PR fixes a broken link in the release page template.
2023-10-04 09:36:51 +02:00
Peter Todd
d5b88dde72
Fix capitalization of OpenTimestamps in release notes 2023-09-21 02:10:14 -04:00
yyforyongyu
c568ba9fa2
github+Makefile: add new action make tidy-module-check
This commit adds `tidy-module` and `tidy-module-check` to make sure the
modules are always tidy.
2023-09-06 02:48:13 +08:00
yyforyongyu
5296509474
Makefile+action: add make unit-module to test submodules
This commit adds a new command `make unit-module` to run unit tests for
submodules to avoid future build errors.
2023-09-06 02:47:55 +08:00
Olaoluwa Osuntokun
dde1495e1d
build: bump Go version to v1.21.0, lnd version to v0.17.0 rc1 (#7914)
* build: update Go version to 1.21.0

* build: bump version to v0.17.0 rc1
2023-08-23 17:33:11 -07:00
feelancer21
8b78c1b9e2
workflows: change step name of sample conf check
We now also check the default values themselves and not just the
existence of the command line flags in the file.
2023-08-03 18:04:25 +02:00
Oliver Gugger
bd3f570107
Merge pull request #7807 from lightningnetwork/dependabot/go_modules/google.golang.org/grpc-1.53.0
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.53.0
2023-07-17 14:15:25 +02:00
positiveblue
ff1379a633
CI: Add sqlc code generation check 2023-07-10 17:57:09 -07:00
Oliver Gugger
93c4b678be
GitHub: bump pinned dependency for grpc 2023-07-10 11:04:14 +02:00
Matt Morehouse
acace4d330
github: run fuzz tests with unit tests
We download and extract the fuzzing seed corpora into the LND tree so
that "make unit" automatically runs the fuzz tests on the seeds.
2023-05-19 15:48:11 -05:00
Olaoluwa Osuntokun
c0f4defe0b
build: update build system to Go 1.20.3 2023-04-05 11:28:34 -07:00
Olaoluwa Osuntokun
0bbbd9b911
build: bump min Go version to 1.19
Fixes https://github.com/lightningnetwork/lnd/issues/7495
2023-03-08 18:02:57 -08:00
yyforyongyu
b5fab8232a
github: increase parallelism in windows build 2023-02-23 21:56:12 +08:00
yyforyongyu
268be87abe
github: refactor github action yaml files
This commit refactors the github action yaml files by putting the common
steps into an action file, and upgrades the tools used.
2023-02-23 21:56:12 +08:00
yyforyongyu
142b00711f
itest+github: remove flag temptest
This commit removes flag `temptest` and all its usage, marking the start
of promoting our `lntemp` to be `lntest`!
2023-02-23 21:56:08 +08:00
Oliver Gugger
a257e6203d
github: fix merge group directive 2023-02-17 11:14:38 +01:00
Olaoluwa Osuntokun
aec10481c1
build: use the new merge_group selector for the merge queue
In this commit, we activate the merge queue by using the new merge_group
selector. Without this, the CI won't report back the progress of a CI
run to the merge queue, so things won't get auto merged.
2023-02-16 15:00:20 -08:00
Oliver Gugger
6874582ed4
GitHub: allow skipping itest and changelog check with labels 2023-02-06 14:11:59 +01:00
Chris Geihsler
a5eaabf548
multi: add sqlite option to itests and github job 2023-01-25 14:16:56 +02:00
Elle Mouton
2fd4f3f180
go.mod+lnrpc+github: point to latest kvdb changes
Use kvdb package v1.4.1. This update also forced the protobuf version to
be bumped which required `make rpc` to be run to update the generated
files. This also required a bump in the github pinned dependencies
config for the grpc and protobuf libs.
2023-01-25 14:03:00 +02:00
Oliver Gugger
a074c801d1
GitHub: add job ID to cache key
To avoid the problem where multiple jobs try to create the same cache
entry, we add the GitHub job ID to the cache key.
The two restore keys make it possible that a job can also restore a
cache entry from another job if none for the current job exist yet.
2023-01-06 09:18:28 +01:00
Oliver Gugger
984fc3a2ec
GitHub: make setup-go action more versatile
With this commit we allow the Go version that is set up to be
configurable and not dependent on a specific environment variable. This
will allow us to eventually extract the action into a tooling
repository.
2023-01-06 09:18:26 +01:00
Oliver Gugger
c4ca7b99e2
GitHub: remove Go env variable override
For some reason we used to override the GOCACHE and GOPATH variables
earlier. This now causes the updated cache action not to pick up any
caches. As the overrides shouldn't be needed anymore, we remove them.
2023-01-06 09:18:16 +01:00
yyforyongyu
3ca7e30199
github: move fmt-check into lint 2022-12-15 16:56:06 +08:00
yyforyongyu
26110beb53
github: upgrade actions/checkout to v3 2022-12-15 16:32:45 +08:00
yyforyongyu
26613a2d46
github: create new action to hold common setup 2022-12-15 16:26:12 +08:00
yyforyongyu
4f9f2f7901
github: update action versions 2022-11-17 21:06:12 +08:00
Elle Mouton
5499ce36fa
github+docs: only check commits on PR action 2022-11-04 11:07:19 +02:00
Elle Mouton
5ea99578a8
github: check commits against base branch 2022-11-02 09:08:21 +02:00
yyforyongyu
55f8a621ae
lntest+github: add flag temptest to run tests separately
This commit adds a new flag `temptest` so we can run new and old tests
separately. This flag will be removed once the migration from old tests
to new tests is finished.
2022-10-14 07:25:28 +08:00
Oliver Gugger
f02528f304
multi: bump Golang version to v1.19.2 2022-10-11 09:49:30 +02:00
Olaoluwa Osuntokun
2f16997a98 build: add PR stats to github workflow
In this PR, we introduce a new Github work flow tool that should help us
keep better track fo reviewer load across the proejct. Ideally this can
also be used as a tool to help new PRs find a reviewer, and also for us
to better balance out review load, and keep track of how long it takes
to do PR turnaround.
2022-10-05 13:18:02 -07:00
Oliver Gugger
9eaf0cb73f
GitHub: add link to discussions [skip ci] 2022-10-03 18:41:36 +02:00
Oliver Gugger
f5a3b735f6
GitHub: add template for feature requests 2022-10-03 18:41:36 +02:00
Oliver Gugger
bd507c4c37
GitHub: move default template to bug_report.md, add config
With this commit we prepare for adding multiple issue templates to
GitHub that will be shown when the user clicks on the "New Issue" button
on GitHub.
The config.yml will also add a bunch of useful links to the page that
shows the different issue templates.
An example of how this template selection page looks like can be found
here: https://github.com/lightninglabs/lightning-terminal/issues/new/choose
2022-10-03 18:41:36 +02:00
Olaoluwa Osuntokun
65a5eeb24e
build: make Go 1.18 the min version, update to Go 1.19
As usual, we keep with the last two Go versions, which means the last
year of Go release (they release every 6 months or so).

This change means we can now use the type params (generics) in the
project!
2022-08-23 10:54:13 -05:00
yyforyongyu
859c5e5da4
Makefile+github: add make fmt-check to check for formatting 2022-08-23 22:10:27 +08:00
yyforyongyu
71eb5804b6
github: cancel concurrent workflows for the same PR/push 2022-08-18 03:54:48 +08:00
Olaoluwa Osuntokun
c0672b80c2
build: update all Dockerfiles to build w/ Go 1.18.2 2022-06-10 11:32:39 -07:00
Elle Mouton
e789107e1f
multi: new bitcoind rpcpolling backend for itests 2022-05-11 09:02:13 +02:00
Daniel McNally
9966960b9a
build: update release tags
This updates the list of tags used for `release` builds in the release
documentation. `peersrpc`, `kvdb_postgres`, and `kvdb_etcd` are now
automatically included in `make release` or `make release-install`
builds.
2022-05-05 18:16:44 -04:00
Oliver Gugger
f8dd032de5
Merge pull request #6465 from Roasbeef/bitcoind23
build: update CI to build against bitcoind 23
2022-05-05 13:24:50 +02:00
Olaoluwa Osuntokun
dec389d54f
build: update CI to build against bitcoind 23 2022-05-04 15:24:22 -07:00
ErikEk
635cffa871 multi: add sub-server dep 2022-04-30 08:55:49 +02:00
Olaoluwa Osuntokun
a90dfff9a5
build: update to Go 1.18 2022-04-12 16:14:04 -07:00