Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA CI improvements #301

Merged
merged 5 commits into from
Feb 5, 2022
Merged

GHA CI improvements #301

merged 5 commits into from
Feb 5, 2022

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

.github/workflows/go.yml Outdated Show resolved Hide resolved
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