Skip to content

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

Merged
pamelafox merged 3 commits into
mainfrom
copilot/fix-94
Jul 22, 2025
Merged

Update Ubuntu runner from ubuntu-20.04 to ubuntu-latest in GitHub workflows#95
pamelafox merged 3 commits into
mainfrom
copilot/fix-94

Conversation

Copy link
Copy Markdown
Contributor

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.

Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com>
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 AI requested a review from pamelafox July 21, 2025 20:48
@pamelafox pamelafox marked this pull request as ready for review July 21, 2025 21:50
@pamelafox
Copy link
Copy Markdown
Owner

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

Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com>
Copy link
Copy Markdown
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.

@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