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

Update workflows to explicitly use ubuntu-22.04 instead of ubuntu-latest #493

Merged
merged 13 commits into from
Jan 15, 2025

Conversation

jsdonn
Copy link
Contributor

@jsdonn jsdonn commented Jan 14, 2025

Summary

Build and release on GH actions is failing consistently with

Run sudo apt-get install libncurses5
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libncurses5
Error: Process completed with exit code 100.

This may be due to the recent Ubuntu 24.04 migration that GH is performing which affects all workflows using ubuntu-latest. Ref: actions/runner-images#10636. The article recommends to downgrade to ubuntu 22.04 explicitly if running into issues.

Testing Done

build action on gh (which uses build-and-test.yml) succeeds

Checklist

Build is failing consistently with

Run sudo apt-get install libncurses5
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libncurses5
Error: Process completed with exit code 100.

Try to fix by following this online post: https://askubuntu.com/questions/1252062/how-to-install-libncurses-so-5-in-ubuntu-20-04
@jsdonn jsdonn marked this pull request as ready for review January 14, 2025 22:41
@jsdonn jsdonn changed the title Update build-and-test.yml Update workflows to use libncurses6 instead of libncurses5 Jan 14, 2025
@jsdonn jsdonn changed the title Update workflows to use libncurses6 instead of libncurses5 Update workflows to explicitly use ubuntu-22.04 instead of ubuntu-latest Jan 14, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.15%. Comparing base (d2e3af5) to head (5cdd92a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #493      +/-   ##
============================================
- Coverage     66.15%   66.15%   -0.01%     
  Complexity     1536     1536              
============================================
  Files           137      137              
  Lines          5910     5915       +5     
  Branches        656      657       +1     
============================================
+ Hits           3910     3913       +3     
- Misses         1722     1723       +1     
- Partials        278      279       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jsdonn jsdonn merged commit 4ceee7f into master Jan 15, 2025
2 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