Skip to content

Commit

Permalink
Migrate to the ubuntu-24.04 GitHub Actions runner
Browse files Browse the repository at this point in the history
The ubuntu-20.04 runner is due to be deprecated on 2025-02-01 and
unsupported by 2025-04-01.

The ubuntu-24.04 runner doesn't include cbindgen so install it using
apt.
  • Loading branch information
Ortham committed Jan 13, 2025
1 parent cbe2c87 commit deb8d39
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:

jobs:
rustfmt:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand All @@ -21,7 +21,7 @@ jobs:
matrix:
os:
- windows-2019
- ubuntu-20.04
- ubuntu-24.04

runs-on: ${{ matrix.os }}

Expand All @@ -38,6 +38,9 @@ jobs:
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install cbindgen
run: cargo install cbindgen --version 0.27.0

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
if: runner.os == 'Linux'
Expand Down

0 comments on commit deb8d39

Please sign in to comment.