Commit Graph

2 Commits

Author SHA1 Message Date
Kir Kolyshkin
147729ae80 gha-ci: bump Go version, nits
1. Switch from Go 1.16 to Go 1.x (which should now resolve to Go 1.18.1).

2. Add a comment explaining that the above version is not the actual Go
   version used for testing.

3. Drop -mod=vendor as this is the unconditional default since Go 1.16
   (unless GO111MODULES overrides this).

4. While at it, fix the options order in go test command, putting options
   before the file name.

Tested at https://github.com/kolyshkin/protobuf-go/actions/runs/2342081396

Change-Id: Icc9aa47ddc0d04abb69b48fcb6b021e3e8a98df3
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/406954
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
Reviewed-by: Lasse Folger <lassefolger@google.com>
2022-05-23 06:49:14 +00:00
Joe Tsai
e7ab1125a6 all: switch to GitHub actions
Travis-CI is dead. The new hotness if GitHub actions.
For now we only test on Linux since testing on macOS and Windows
takes more effort to figure out.

Change-Id: I464df75b9142dafcdf07281f70c1bcf52514f71a
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/298089
Trust: Joe Tsai <joetsai@digital-static.net>
Reviewed-by: Damien Neil <dneil@google.com>
2021-03-11 19:23:10 +00:00