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

Try to normalize the github workflows #3071

Merged
merged 9 commits into from
May 17, 2024
Merged

Try to normalize the github workflows #3071

merged 9 commits into from
May 17, 2024

Conversation

haarg
Copy link
Member

@haarg haarg commented May 13, 2024

Try to get closer to a consistent setup for GitHub workflows. Use actions that can be shared across all of our repos and try to use more 'official' actions.

@haarg haarg force-pushed the haarg/build-normalize branch 3 times, most recently from dfe534c to 24cbada Compare May 14, 2024 23:42
@haarg haarg marked this pull request as ready for review May 14, 2024 23:42
@haarg
Copy link
Member Author

haarg commented May 14, 2024

Along with all of the other changes, this also separates out the tidy checks into a separate action run. #3048 also tries to address this, so whichever PR is merged second will need some adjustment. I included it in this PR because the codecov coverage report was causing failures and is deprecated, while the replacement codecovbash was failing due to a strange interaction with Test::Vars which was being used in the tidy test.

@haarg haarg requested a review from oalders May 14, 2024 23:49
haarg added 5 commits May 15, 2024 17:43
Update the GitHub Actions configs to try to get closer to a standard
setup we can use across multiple repos.

Switch from jamestrousdale/github-app-jwt-token to
actions/create-github-app-token. Should be more trustworthy and likely
better maintained.

Use docker/build-push-action for building docker images rather than
running the commands manually.

Use docker/metadata-action to provide extra metadata, as well as picking
the tags we will push. This allows combining the 'deployment' and
'production' build workflows.

Update the perl and node versions used when testing without Docker to
match the versions used in Docker.
Devel::Cover::Report::Codecov is deprecated. Instead, use the codecovbash
report type to generate the json to upload, and upload it using
codecov/codecov-action.
@haarg haarg force-pushed the haarg/build-normalize branch from ebd3045 to 02bfec8 Compare May 15, 2024 15:45
@oalders
Copy link
Member

oalders commented May 15, 2024

This one failed the formatting check, so I think it still needs a tweak. We can remove all references to tidyall at this point, I think.

@haarg haarg force-pushed the haarg/build-normalize branch from 02bfec8 to d83d532 Compare May 16, 2024 20:08
Copy link

codecov bot commented May 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.79%. Comparing base (bdd23aa) to head (cf6def9).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3071      +/-   ##
==========================================
+ Coverage   71.75%   71.79%   +0.04%     
==========================================
  Files          70       70              
  Lines        2411     2411              
  Branches      338      338              
==========================================
+ Hits         1730     1731       +1     
+ Misses        555      554       -1     
  Partials      126      126              

see 1 file with indirect coverage changes

@haarg haarg force-pushed the haarg/build-normalize branch 8 times, most recently from bda0413 to 5366d58 Compare May 16, 2024 23:57
@haarg haarg force-pushed the haarg/build-normalize branch from 5366d58 to cf6def9 Compare May 16, 2024 23:58
@haarg haarg requested a review from oalders May 17, 2024 00:12
@haarg haarg closed this May 17, 2024
@haarg haarg reopened this May 17, 2024
@haarg haarg merged commit 3c9104b into master May 17, 2024
16 checks passed
@haarg haarg deleted the haarg/build-normalize branch May 17, 2024 13:58
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