Skip to content

GHA CI improvements#301

Merged
guelfey merged 5 commits intogodbus:masterfrom
kolyshkin:ci
Feb 5, 2022
Merged

GHA CI improvements#301
guelfey merged 5 commits intogodbus:masterfrom
kolyshkin:ci

Conversation

@kolyshkin
Copy link
Contributor

A bit of CI facelifting. Please see individual commits for details.

This package does not use gopkg dep to manage dependencies.
More to say, it does not have any dependencies.

Even if there are some, they are fetched automatically.

Remove the code that is not used to keep things simple and tidy.

Signed-off-by: Kir Kolyshkin <[email protected]>
@kolyshkin
Copy link
Contributor Author

Related: #291

@kolyshkin
Copy link
Contributor Author

@jsouthworth @guelfey PTAL

1. Go 1.13 is not supported since Go 1.15 was released in 2020.

2. It makes sense to test using all supported Golang versions
   (currently that is 1.16.x and 1.17.x).

3. It makes sense to test a beta golang release, to catch possible
   issues early.

Signed-off-by: Kir Kolyshkin <[email protected]>
Go race detector might be useful to employ.

Signed-off-by: Kir Kolyshkin <[email protected]>
I am not sure that the checking out is performed to Go module directory
-- most probably not, since actions/checkout is not Go-aware.

Also, older go versions required the code to be in a specific directory
($GOROOT/src/<package/name/>), but this is no longer the case.

So, edit the step name to remove the misleading info.

Signed-off-by: Kir Kolyshkin <[email protected]>
Rename Go to Test (same with the file name) as it won't all be Go-specific.

Rename Build to test, as this is what we do (test).

Job names are now "Test / test (xxx)" rather than "Go / Build (xxx)".

Signed-off-by: Kir Kolyshkin <[email protected]>
@kolyshkin kolyshkin force-pushed the ci branch 2 times, most recently from 4335e1b to e92f9ce Compare February 1, 2022 22:42
@kolyshkin kolyshkin requested a review from guelfey February 2, 2022 19:05
@guelfey guelfey merged commit 2ae03c7 into godbus:master Feb 5, 2022
@guelfey
Copy link
Member

guelfey commented Feb 5, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants