mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-03-06 09:01:34 +00:00
Add GitHub actions in preperation for deprecating Jenkins (#1164)
* Add a test script * add gh action for build and test * added all the test * Change github workflow to use the new test script * Change the docker file to use the new test script * Add doc comment for ProtocolError.Unwrap() * Use another github action to increase windows page size * Run the action after any edit to the PR metadata/base * Change go version from 1.15 to 1.14 * Rename test.sh to build_and_test.sh Co-authored-by: Isabella Liu <isabellaliu77@gmail.com>
This commit is contained in:
@@ -16,6 +16,7 @@ func (e *ProtocolError) Error() string {
|
||||
return e.Cause.Error()
|
||||
}
|
||||
|
||||
// Unwrap returns the cause of ProtocolError, to be used with `errors.Unwrap()`
|
||||
func (e *ProtocolError) Unwrap() error {
|
||||
return e.Cause
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user