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

Upgrade to ubuntu-latest #823

Merged
merged 6 commits into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ env:
jobs:
cancel_previous_runs:
name: Cancel Previous Runs
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}

free-disk-space:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
os: [ ubuntu-latest ]
check: [
# Test for no-std compatibility.
# `--locked` to enforce an up-to-date Cargo.lock
Expand Down Expand Up @@ -97,6 +97,9 @@ jobs:
- name: init-rust-target
run: rustup show && rustup component add rust-src

- name: Install gcc-multilib for wasmi compilation
run: sudo apt install gcc-multilib

- name: Cargo update
if: ${{ github.event_name == 'schedule' }}
run: cargo update
Expand Down Expand Up @@ -166,7 +169,7 @@ jobs:

taplo-fmt:
name: "Taplo fmt"
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container: "tamasfe/taplo:latest"
steps:
- uses: actions/checkout@v4
Expand All @@ -176,7 +179,7 @@ jobs:

license-check:
name: "License check"
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand All @@ -202,7 +205,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
os: [ ubuntu-latest ]
example: [
benchmark_bulk_xt,
compose_extrinsic,
Expand Down Expand Up @@ -263,7 +266,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-22.04 ]
os: [ ubuntu-latest ]
example: [
wasm_example,
]
Expand All @@ -283,7 +286,7 @@ jobs:
run: wasmtime --invoke main ${{ matrix.example }}.wasm 0 0

merge:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: [examples, wasm_examples]
steps:
- name: Merge Artifacts
Expand Down