Skip to content

Commit

Permalink
ci: Specify x86_64-unknown-uefi for clippy
Browse files Browse the repository at this point in the history
Use the correct target for clippy as unwind features and symbols are no
longer used in redox_uefi_std. Fixes:

    error: unwinding panics are not supported without std

Also update the runner to ubuntu-24.04.

Signed-off-by: Tim Crawford <[email protected]>
  • Loading branch information
crawfxrd committed Nov 9, 2024
1 parent 09dafa4 commit 1f6d220
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

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

Expand All @@ -16,10 +16,11 @@ jobs:
- name: clippy
env:
BASEDIR: "."
run: cargo clippy
run: cargo clippy --target x86_64-unknown-uefi -- -D warnings
continue-on-error: true

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

Expand Down

0 comments on commit 1f6d220

Please sign in to comment.