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

chore: Simplifies CI workflow #60

Merged
merged 3 commits into from
Dec 11, 2023
Merged

chore: Simplifies CI workflow #60

merged 3 commits into from
Dec 11, 2023

Conversation

gruyaume
Copy link
Contributor

Description

This PR simplifies the Github Actions CI workflow by combining all jobs that should be run on master and on PR's to master in one file. The only real change in behavior is that we no longer update an existing PR with the outcome of a go fmt. Since we run go lint, the CI will simply fail if a given PR has bad formatting.

Effectively, this reduces the amount of CI lines of code by more than 50% without sacrificing anything.

Rationale

It was hard to wrap one's head around what jobs were done at which moment because of the various files, their different conditions and the amount of commented workflow line. While the file representation was hard to read, the actual workflow was quite simple: Run X, Y, Z jobs on push to master and PR's to master. This PR here reflects this.

@onf-bot
Copy link
Contributor

onf-bot commented Dec 11, 2023

Can one of the admins verify this patch?

1 similar comment
@onf-bot
Copy link
Contributor

onf-bot commented Dec 11, 2023

Can one of the admins verify this patch?

@gab-arrobo
Copy link
Contributor

ok to test

Co-authored-by: gab-arrobo <gabriel.arrobo@intel.com>
Copy link
Contributor

@gab-arrobo gab-arrobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 (Tested changes locally)

@gab-arrobo gab-arrobo merged commit 3f7fb8c into omec-project:master Dec 11, 2023
8 checks passed
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.

3 participants