Skip to content

Update Ubuntu runner from ubuntu-20.04 to ubuntu-latest in GitHub workflows #95

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

Merged
merged 3 commits into from
Jul 22, 2025

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 21, 2025

GitHub workflow files were using the deprecated ubuntu-20.04 runner image which is scheduled for removal by GitHub.

Changes Made

Updated .github/workflows/python-check.yaml to use ubuntu-latest instead of ubuntu-20.04:

- os: ["ubuntu-20.04"]
+ os: ["ubuntu-latest"]

Benefits

  • Future-proof: ubuntu-latest always uses the most recent stable Ubuntu LTS version
  • Security: Receives the latest security updates and patches
  • Tooling: Includes updated tooling and dependencies
  • Consistency: All workflow files now consistently use ubuntu-latest

Validation

  • ✅ YAML syntax validated successfully
  • ✅ No other instances of ubuntu-20.04 found in workflow files
  • ✅ Change is minimal and surgical (1 line modified)
  • ✅ Follows the same pattern used in other workflow files

Fixes #94.

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] Update Ubuntu runner from ubuntu-20.04 to ubuntu-latest in GitHub workflows Update Ubuntu runner from ubuntu-20.04 to ubuntu-latest in GitHub workflows Jul 21, 2025
@Copilot Copilot AI requested a review from pamelafox July 21, 2025 20:48
Copilot finished work on behalf of pamelafox July 21, 2025 20:48
@pamelafox pamelafox marked this pull request as ready for review July 21, 2025 21:50
@pamelafox
Copy link
Owner

@copilot can you change ruff to
“ruff check .”

Copy link
Contributor Author

Copilot AI commented Jul 21, 2025

@copilot can you change ruff to
“ruff check .”

Changed ruff command to ruff check . in commit 03a0ba4. The linting step now uses the explicit subcommand for better clarity and follows ruff's modern command structure.

Copilot finished work on behalf of pamelafox July 21, 2025 22:01
@pamelafox pamelafox merged commit 01b4fa1 into main Jul 22, 2025
2 checks passed
@pamelafox pamelafox deleted the copilot/fix-94 branch July 22, 2025 06:07
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.

Update Ubuntu runner from ubuntu-20.04 to ubuntu-latest in GitHub workflows
2 participants