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:
Elichai Turkel
2020-12-17 15:48:55 +02:00
committed by GitHub
parent bf67c6351e
commit 6b1e691a57
5 changed files with 275 additions and 13 deletions

View File

@@ -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
}