Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:

# Steps to use cargo-make to build and package drivers
- name: Install Cargo Make
uses: taiki-e/install-action@v2
uses: ./.github/actions/install-cargo-tool
with:
tool: cargo-make

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/code-formatting-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,18 @@ jobs:
- name: Install Rust Toolchain (Stable)
uses: dtolnay/rust-toolchain@stable

- name: Install taplo-cli
uses: taiki-e/install-action@v2
# Using cache-cargo-install-action to cache the compiled binary.
# Once taplo ships a release with field-level `keys` matching, this can
# be simplified back to install-action with a normal version pin.
- name: Install taplo-cli from pinned revision b673b44d
uses: taiki-e/cache-cargo-install-action@v3
with:
tool: taplo-cli
git: https://github.com/tamasfe/taplo
rev: b673b44d
locked: true
env:
RUSTFLAGS: ""

- run: taplo fmt --check --diff
name: Check TOML files formatting
16 changes: 15 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,25 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Checkout windows-drivers-rs actions
uses: actions/checkout@v4
with:
repository: microsoft/windows-drivers-rs
ref: main
path: _temp/windows-drivers-rs
sparse-checkout: |
.github/actions
sparse-checkout-cone-mode: false

- name: Copy actions to workspace
shell: pwsh
run: Copy-Item -Recurse -Force _temp/windows-drivers-rs/.github/actions .github/

- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install Cargo Machete
uses: taiki-e/install-action@v2
uses: ./.github/actions/install-cargo-tool
with:
tool: cargo-machete

Expand Down
Loading