Olaoluwa Osuntokun
1c76c6198c
build: bump Go version to v1.23.9
2025-05-06 15:50:16 -07:00
Oliver Gugger
d9089b11ac
GitHub: fix order of operations
2025-04-24 08:36:17 +02:00
Oliver Gugger
337d9a9b23
Merge pull request #9628 from guggero/bitcoind-29
...
scripts+GitHub: use bitcoind v29.0
2025-04-17 16:23:00 +02:00
Oliver Gugger
f4a6c3487a
scripts+GitHub: use bitcoind v29.0
2025-04-17 09:07:01 +02:00
yyforyongyu
45029d9b6c
docs: add development_guidelines.md
...
This file focuses on the requirements and steps needed to make an
acceptable PR.
2025-04-14 17:08:56 +08:00
Oliver Gugger
5ac72ed282
GitHub: disable cache, remove hosted tools cache
...
In an attempt to fix the "out of disk space" build error during release
builds, we first disable using Golang caches (which can be quite large)
and then remove a bunch of pre-installed tools and their caches to
provide some additional disk storage.
2025-04-07 12:23:16 +02:00
Olivier BARTHELEMY
336799ad48
Fix release build command
...
vendor folder needs to be inside lnd-source folder for the following comands to work, but the two tar commands extract them in separate folder
2025-03-31 13:01:09 +01:00
Olaoluwa Osuntokun
f744a5477f
Merge pull request #9565 from guggero/bot-typo-fix-spam
...
GitHub+docs: no longer accept typo fixes to fight PR spam
2025-02-28 16:18:17 -08:00
Oliver Gugger
7761e37522
GitHub: remove generated files from coverage
2025-02-28 14:55:34 +01:00
Oliver Gugger
124137e31a
GitHub+make: debug failing test, use official coveralls action
2025-02-28 14:55:34 +01:00
Oliver Gugger
576da75a07
multi: remove unneeded env variables
...
With Go 1.23 we don't need to set any of these variables anymore, as
they're the default values now.
2025-02-28 14:55:34 +01:00
Oliver Gugger
a78f9f6c0a
GitHub+docs: no longer accept typo fixes to fight PR spam
2025-02-28 13:02:49 +01:00
Elle Mouton
343bdff26b
make+gh: add make helper and GH action
...
Add a makefile helper to run the neww backwards compatability test and
then add a new GH actions job to call it.
2025-02-27 11:33:15 +02:00
Oliver Gugger
dc64ea97a2
GitHub: remove duplicate caching
...
Turns out that actions/setup-go starting with @v4 also adds caching.
With that, our cache size on disk has almost doubled, leading to the
GitHub runner running out of space in certain situation.
We fix that by disabling the automated caching since we already have our
own, custom-tailored version.
2025-02-20 18:14:29 +01:00
Olaoluwa Osuntokun
61852fbe95
multi: update build system to Go 1.23
2025-02-13 16:57:06 -08:00
yyforyongyu
2b0c25e31d
workflows: skip coverage error in job finish
...
Also updates the coverage action used.
2025-02-13 22:05:38 +08:00
Elle Mouton
a67df6815c
.github: ignore Send coverage errors
...
Sometimes only the "Send coverage" step of a CI job will fail. This
commit turns this step into a "best effort" step instead so that it
does not block a CI job from passing.
It can, for example, often happen that a single job is re-run from the
GH UI, it then passes but the "Send coverage" step fails due to the
"Can't add a job to a build that is already closed." error meaning that
the only way to get the CI step to pass is to re-push and retrigger a
full CI run.
2025-02-12 12:34:02 +02:00
Oliver Gugger
191c838ad1
multi: bump Go version to v1.22.11
2025-01-30 16:13:26 +01:00
yyforyongyu
29603954bd
.github: update actions versions
2025-01-20 21:55:20 +08:00
Elle Mouton
a7a01f684d
.github: bump upload-artifact action to v4
2025-01-10 08:31:57 +02:00
yyforyongyu
1dec926165
workflows: increase num of tranches to 16
...
Keep the SQL, etcd, bitcoin rpcpolling builds and non-ubuntu builds at 8
since they are less stable.
2024-12-20 19:38:14 +08:00
yyforyongyu
691a6267be
workflows: use btcd
for macOS
...
To increase the speed from 40m per run to roughly 20m per run.
2024-12-20 19:38:13 +08:00
yyforyongyu
ef167835dd
workflows: pass action ID as the shuffle seed
...
To make sure each run is shuffled, we use the action ID as the seed.
2024-12-20 19:38:05 +08:00
yyforyongyu
1167181d06
workflows: fix no space left error
2024-12-20 14:00:30 +08:00
Alex Akselrod
53d34d2c60
github workflow: save postgres log to zip file
2024-12-12 10:40:40 -08:00
Oliver Gugger
55b685dbd7
Merge pull request #9347 from lightningnetwork/cross-compile-fix
...
build/ci: attempt to fix failing cross compile step
2024-12-12 17:47:50 +01:00
ziggie
c6bdbbe222
github: update goveralls tool
...
The goverall tool had a bug regarding the module versioning of
golang packages see also
https://github.com/mattn/goveralls/pull/222 for more background.
Goveralls is wrapped by another library to make it available for
github actions. So the relevant PR which is referenced here in
LND is:
https://github.com/shogo82148/actions-goveralls/pull/521 .
2024-12-12 10:38:01 +01:00
Oliver Gugger
c022284f37
GitHub+make: run cross compile in matrix
...
This is just a test, perhaps this doesn't make any sense at all as it
will clog up too many build runners.
2024-12-12 10:09:30 +01:00
Oliver Gugger
66c3a46e4c
GitHub: allow not caching the Golang build cache
...
This is a tradeoff of disk space (and with that cache size) and
compilation speed. Because we're still running into disk full errors
with the full build cache, we remove it for the cross compile step.
Which means we'll do more work each time.
2024-12-12 10:09:30 +01:00
Oliver Gugger
7692ced5f5
multi: update comment on changing Go version
...
Since we now have a scripted check that makes sure the Golang version is
synced throughout all files, it is important that the main version in
the Makefile is changed, then all other versions can be detected by that
script.
2024-12-02 09:48:26 +01:00
Oliver Gugger
6ac1ffd274
github+scripts: bump itests to bitcoind v28, allow testing with RCs
2024-10-14 16:10:18 +02:00
Olaoluwa Osuntokun
19b5a1fb05
build: set min build version to Go 1.22.6
...
Go 1.23 was released this week, so with this PR we update the build
system to officially support the last two releases.
2024-08-20 19:13:23 +02:00
Olaoluwa Osuntokun
9e2b308f93
build: update to Go 1.22.5
2024-07-24 14:21:13 -07:00
Olaoluwa Osuntokun
6f37db3a92
Merge pull request #8927 from guggero/fix-release-script
...
GitHub: update vendored release script
2024-07-23 15:16:09 -07:00
Oliver Gugger
154a8af078
GitHub: update vendored release script
...
This fixes the problem where releases wouldn't be created anymore due to
the GitHub Action for creating the draft release being out of date.
2024-07-23 14:49:05 +02:00
Marcia Waite
e6dca0ce6e
multi: Fix typos and grammar in multiple docs
2024-07-22 20:08:12 -07:00
Elle Mouton
e326e242ff
.github: rebase before running itests & unit tests
2024-06-13 08:11:02 -04:00
Elle Mouton
20be40df7b
.github: make the rebase step re-usable
2024-06-13 08:11:02 -04:00
Elle Mouton
8b31a37ec9
.github: only fetch the base branch when rebasing
...
Update the "check commits" action to only fetch the base branch that we
will be rebasing on. Otherwise every upstream branch is fetched.
2024-06-13 08:11:01 -04:00
yyforyongyu
84e58d6f02
workflows: decrease TRANCHES to 8
2024-06-13 17:54:34 +08:00
Oliver Gugger
a5c04bbd14
GitHub: increase itest parallelization to 16 tranches
2024-06-04 09:07:34 +02:00
Olaoluwa Osuntokun
a585833fb5
build: update release builds and CI to Go 1.22.3
2024-05-09 15:24:19 -07:00
Oliver Gugger
39b7f1c4f4
GitHub: give tag to each cover job
2024-04-23 19:16:56 +02:00
Oliver Gugger
7468eb3416
GitHub: only run cover on some itests, send completion
...
We only want to run the coverage on some select tests, since we don't
want to make tests with slow backends even slower.
And because we use "parallel: true" when uploading the coverage results,
those will only be assembled once we send "parallel-finished: true"
using the goveralls action.
So we do that with a new "finish" job.
2024-04-23 19:16:56 +02:00
Oliver Gugger
8a5160e1de
multi: add test coverage for integration tests
2024-04-23 19:15:33 +02:00
Oliver Gugger
817ddb807b
GitHub+scripts: use bitcoind v27.0
2024-04-18 17:44:04 +02:00
Andras Banki-Horvath
a7bd9701b1
github: update gRPC pin to v1.59.0
2024-04-09 20:46:11 +02:00
Oliver Gugger
15c7686830
Merge pull request #8554 from yyforyongyu/use-new-errors
...
lnwallet: use new errors returned from `rpcclient`
2024-03-21 01:42:57 -06:00
yyforyongyu
03afb72918
workflows: remove loggings from unit test
...
These loggings are not helpful.
2024-03-20 04:40:38 +08:00
Oliver Gugger
f6656d1daa
Travis+GitHub: replace Travis CI with GitHub MacOS 14 build
2024-03-18 17:08:18 +01:00