You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error you're seeing is related to GitHub Actions transitioning their ubuntu-latest runner from Ubuntu 22.04 to Ubuntu 24.04.
yaml
{
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
# Explicitly specify Ubuntu 22.04 to maintain stability
runs-on: ubuntu-22.04 # Instead of ubuntu-latest
steps:
- uses: actions/checkout@v4
# Install cargo-udeps
- name: Install cargo-udeps
run: cargo install cargo-udeps
# Your other steps here
- name: Run cargo-udeps
run: cargo udeps
}
Here's how to handle this transition:
The immediate solution is to explicitly specify ubuntu-22.04 instead of ubuntu-latest in your workflow file. This ensures stability until you're ready to upgrade.
To prepare for Ubuntu 24.04, you should:
Test your workflows on Ubuntu 24.04 by creating a separate workflow or job using ubuntu-24.04
Check if all your dependencies and tools are compatible with Ubuntu 24.04
Update any packages or configurations that might need adjustment
If you want to test both versions simultaneously, you can use a matrix strategy:
cargo-udeps
failed: https://github.com/dojoengine/dojo/actions/runs/12735845629Reference: branch refs/heads/main (commit a5377ac).
The text was updated successfully, but these errors were encountered: