Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Draft
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
78 changes: 0 additions & 78 deletions .github/actions/install-winget/action.yaml

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,18 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v5

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
uses: ./.github/actions/install-winget
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Winget PowerShell Module
shell: pwsh
run: Install-Module -Name Microsoft.WinGet.Client -Repository PSGallery -Force

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
shell: pwsh
run: |
Repair-WinGetPackageManager -Latest -Force
Write-Output "Winget Version: $(winget --version)"

- name: Install LLVM ${{ matrix.llvm }}
uses: ./.github/actions/install-llvm
with:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v5

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
uses: ./.github/actions/install-winget
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Winget PowerShell Module
shell: pwsh
run: Install-Module -Name Microsoft.WinGet.Client -Repository PSGallery -Force

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
shell: pwsh
run: |
Repair-WinGetPackageManager -Latest -Force
Write-Output "Winget Version: $(winget --version)"

- name: Install LLVM ${{ matrix.llvm }}
uses: ./.github/actions/install-llvm
with:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v5

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
uses: ./.github/actions/install-winget
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Winget PowerShell Module
shell: pwsh
run: Install-Module -Name Microsoft.WinGet.Client -Repository PSGallery -Force

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
shell: pwsh
run: |
Repair-WinGetPackageManager -Latest -Force
Write-Output "Winget Version: $(winget --version)"

- name: Install LLVM ${{ matrix.llvm }}
uses: ./.github/actions/install-llvm
with:
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/local-development-makefile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v5

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
uses: ./.github/actions/install-winget
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Winget PowerShell Module
shell: pwsh
run: Install-Module -Name Microsoft.WinGet.Client -Repository PSGallery -Force

- name: Install Winget
if: matrix.runner.name == 'windows-11-arm'
shell: pwsh
run: |
Repair-WinGetPackageManager -Latest -Force
Write-Output "Winget Version: $(winget --version)"

- name: Install LLVM ${{ matrix.llvm }}
uses: ./.github/actions/install-llvm
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ jobs:
rust_toolchain:
- stable
- beta
# Pin nightly version temporarily due to bug in macrotest: https://github.com/eupn/macrotest/issues/131
- nightly-2025-11-20
- nightly

cargo_profile:
- dev
Expand All @@ -50,16 +49,17 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v5

- name: Install Winget
if: matrix.runner.arch == 'arm64'
uses: ./.github/actions/install-winget
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Install Winget PowerShell Module
shell: pwsh
run: Install-Module -Name Microsoft.WinGet.Client -Repository PSGallery -Force

- name: Install Winget
if: matrix.runner.arch == 'arm64'
shell: pwsh
run: |
Repair-WinGetPackageManager -Latest -Force
Write-Output "Winget Version: $(winget --version)"

- name: Install LLVM ${{ matrix.llvm }}
uses: ./.github/actions/install-llvm
with:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
- name: Install Cargo Expand
uses: taiki-e/install-action@v2
with:
tool: [email protected].85
tool: [email protected].119

- name: Install Cargo Make
uses: taiki-e/install-action@v2
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ That's it! Thank you for your contribution!
The following tools should be installed as a part of the `windows-drivers-rs` developer workflow:

* `cargo-audit`: `cargo install --locked cargo-audit`
* `cargo-expand`: `cargo install --locked cargo-expand --version 1.0.85`
* `cargo-expand`: `cargo install --locked cargo-expand --version 1.0.119`
* `cargo-machete`: `cargo install --locked cargo-machete`
* `cargo-sort`: `cargo install --locked cargo-sort`
* `taplo-cli`: `cargo install --locked taplo-cli`
Expand Down
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ assert ${success} "Failed to delete tests directory"
install_crate = { crate_name = "cargo-expand", binary = "cargo", test_arg = [
"expand",
"--version",
], version = "1.0.85" }
], version = "1.0.119" }

[tasks.audit]
args = ["audit", "--deny", "warnings"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub extern "system" fn driver_entry(
::core::panicking::panic_fmt(
format_args!(
"internal error: entered unreachable code: {0}",
format_args!("Option should never be None")
format_args!("Option should never be None"),
),
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub extern "system" fn driver_entry(
::core::panicking::panic_fmt(
format_args!(
"internal error: entered unreachable code: {0}",
format_args!("Option should never be None")
format_args!("Option should never be None"),
),
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub extern "system" fn driver_entry(
::core::panicking::panic_fmt(
format_args!(
"internal error: entered unreachable code: {0}",
format_args!("Option should never be None")
format_args!("Option should never be None"),
),
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub extern "system" fn driver_entry(
::core::panicking::panic_fmt(
format_args!(
"internal error: entered unreachable code: {0}",
format_args!("Option should never be None")
format_args!("Option should never be None"),
),
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub extern "system" fn driver_entry(
::core::panicking::panic_fmt(
format_args!(
"internal error: entered unreachable code: {0}",
format_args!("Option should never be None")
format_args!("Option should never be None"),
),
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub extern "system" fn driver_entry(
::core::panicking::panic_fmt(
format_args!(
"internal error: entered unreachable code: {0}",
format_args!("Option should never be None")
format_args!("Option should never be None"),
),
);
};
Expand Down
Loading