Skip to content
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
8 changes: 8 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions: {}

jobs:
fmt:
permissions:
contents: read
name: Rustfmt
runs-on: ubuntu-latest
steps:
Expand All @@ -33,6 +37,8 @@ jobs:
run: ( cd kernel-port && cargo fmt --all -- --check )

clippy:
permissions:
contents: read
name: Clippy
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -62,6 +68,8 @@ jobs:
run: ( cd kernel-port && cargo clippy -- -D warnings )

test:
permissions:
contents: read
name: Test
runs-on: ubuntu-latest
steps:
Expand Down
Loading