Commit graph

25 commits

Author SHA1 Message Date
Calvin Kim
61c215ec1a ci: run rpctest integration tests
`make build`, `make unit-cover`, and `make unit-race` all use plain
`go test` without the rpctest build tag, so anything under
//go:build rpctest -- the entire integration/ package outside of
rpctest/, and parts of rpctest/ itself -- is not exercised by CI.
Bugs that only surface under -tags=rpctest can land on master without
detection.

Add a test-rpctest job that runs `make unit` (which sets
-tags=rpctest) so rpctest-tagged tests are part of every push and PR.
2026-05-30 16:47:18 +09:00
Oliver Gugger
c0cfa06111 multi: update make and CI goals with new packages 2026-05-14 18:05:33 -07:00
Olaoluwa Osuntokun
1863073cb0 multi: bump Go toolchain to 1.25, build CI with 1.26.3
In this commit, we update every in-tree go.mod to declare go 1.25 and
have CI build with 1.26.3 (Dockerfile uses the golang:1.26-alpine base).
Docs that mention the minimum required Go version are aligned with the
new floor as well.

Fixes #2527, which flagged the README.md / go.mod version mismatch (the
README claimed 1.22 while the root + v2transport go.mod files already
required 1.23.2).
2026-05-14 17:32:02 -07:00
Olaoluwa Osuntokun
2c05692401 github: cross-compile android/arm64 in CI
Add a build step to the existing Build job that cross-compiles both the
top-level module and btcutil for GOOS=android GOARCH=arm64.

This catches regressions in the android-specific build path (e.g. the
net_android.go wrapper around anet.InterfaceAddrs) without needing an
emulator or NDK toolchain - android/arm64 builds without cgo.
2026-05-14 16:22:50 -07:00
Olaoluwa Osuntokun
7d4da22923
build: bump version of Go container for release builds 2026-01-12 18:22:47 -08:00
Mohamed Awnallah
29f421534c Makefile+workflows: fallback to GOPATH/bin on non-existent GOBIN
Co-authored-by: Oliver Gugger <gugger@gmail.com>
2025-08-20 16:02:15 +00:00
quantix9
cae3fb6487 docs: update contribution link 2025-03-25 22:33:12 +08:00
yyforyongyu
bf5e733271
docs: update contribution guidelines and links 2025-03-07 13:29:28 +08:00
yyforyongyu
dc88df9a3c
github: add issue template 2025-03-05 07:04:22 +08:00
yyforyongyu
b4a1215075
github: add pull request template 2025-03-05 06:55:56 +08:00
yyforyongyu
d9e3077ad7
workflows: update versions of the actions 2025-03-05 04:03:15 +08:00
yyforyongyu
d7aa8e5f89
workflows: rename go.yml to main.yml 2025-03-05 03:53:59 +08:00
Kim
ca8059b59d bump go mod versions 2025-02-10 16:37:15 +09:00
vpereira01
e153fefbad Upgrade go docker builder image 2022-04-11 09:22:36 -04:00
vpereira01
b87a4f4835 Add LF to new files last line 2022-04-11 09:22:36 -04:00
vpereira01
1eede8721c Adds GH workflow to build docker images on version tags
Adds a GitHub workflow, and custom docker file, using docker buildx
which builds docker container images for common platforms and publishes
these images to GitHub packages.
2022-04-11 09:22:36 -04:00
vpereira01
10cff8777a Fixes coveralls coverage report
With PR #1785 multiple coverage reports are sent to coveralls. This
makes coveralls only consider the last report sent. This fix treat all
reports has parallel reports so they can all be compiled later by coveralls.
2022-03-10 10:44:09 -05:00
Olaoluwa Osuntokun
eee3c3b337
multi: switch project over to using btcec/v2 2022-01-26 16:10:17 -08:00
Olaoluwa Osuntokun
3cacbd489e
build: adapt btcutil Makefile for usage in project
In this commit, we adapt the Makefile that was being used for the
btcutil project to work for btcd as well. The Makefile is pretty simple,
and is just a series of templated commands. Overtime, we can pull in
some of the `lnd` additions as well, which we use to handle our
reproducible build and verification system.
2022-01-10 18:45:03 -08:00
naveen
31791ba4dc Included permissions for GitHub action
The default GitHub Action is write which is not required for this
action.
2021-10-26 10:00:04 -04:00
Olaoluwa Osuntokun
7ae5b74dee
build: bump min Go version to 1.16.8 add Go 1.17.1 2021-09-15 18:19:34 -07:00
Olaoluwa Osuntokun
40ae93587d
Merge pull request #1621 from xplorfin/go1.15
ci: add go 1.15 to tests
2020-10-02 14:52:29 -07:00
Jake Sylvestre
297c6120bb ci: add go 1.15 to tests 2020-09-17 01:38:18 -04:00
Anirudha Bose
2547246f84 GitHub Actions: Enable Go Race detector and code coverage
This modifies the goclean.sh script to run tests with the
race detector enabled. It also enables code coverage, and
uploads the results to coveralls.io.

Running tests with -race and -cover flags was disabled in
6487ba1 and 6788df7 respectively, due to some limits on
time/goroutines being hit on Travis CI. Since we have
migrated to GitHub Actions, it is desirable to bring them
back.
2020-09-08 10:19:55 -04:00
David Hill
a505b99ba3 build: replace travis-ci with github actions.
test go 1.14
use golangci-lint
2020-05-13 08:52:05 -04:00