Skip to content

Commit

Permalink
Upgrade to ubuntu-latest (#823)
Browse files Browse the repository at this point in the history
* update to ubuntu-latest

* add additional install step

* update name
  • Loading branch information
haerdib authored Feb 4, 2025
1 parent ef4bc3a commit 9127504
Showing 1 changed file with 11 additions and 8 deletions.
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

0 comments on commit 9127504

Please sign in to comment.