Skip to content

Commit 70bdfd9

Browse files
authored
Update PowerShell dependencies (Azure#3131)
1 parent 86efac5 commit 70bdfd9

File tree

6 files changed

+8
-16
lines changed

6 files changed

+8
-16
lines changed

.github/dependabot.yml

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ updates:
1717
- dependencies
1818
reviewers:
1919
- azure/psrule-rules-azure
20-
ignore:
21-
# Ignore upgrades to PS 7.1 for tool chain components at this time
22-
- dependency-name: Microsoft.PowerShell.SDK
23-
- dependency-name: System.Management.Automation
2420

2521
# Maintain dependencies for GitHub Actions
2622
- package-ecosystem: github-actions

docs/install.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ You can also use this option to install on CI workers that are not natively supp
141141
Operating System | Tool | Installation Link
142142
---------------- | ---- | -----------------
143143
Windows | Windows PowerShell 5.1 with .NET Framework 4.7.2 or greater. | [link](https://dotnet.microsoft.com/download/dotnet-framework/net48)
144-
Windows, MacOS, Linux | PowerShell version 7.3.x or greater. | [link](https://github.com/PowerShell/PowerShell#get-powershell)
144+
Windows, MacOS, Linux | PowerShell version 7.4.x or greater. | [link](https://github.com/PowerShell/PowerShell#get-powershell)
145145
146146
To use PSRule for Azure, PSRule a separate PowerShell module must be installed.
147147
The required version will automatically be installed along-side PSRule for Azure.
@@ -163,7 +163,7 @@ PowerShell modules:
163163
### Installing PowerShell
164164
165165
PowerShell 7.x can be installed on MacOS, Linux, and Windows but is not installed by default.
166-
For a list of platforms that PowerShell 7.3 is supported on and install instructions see [Get PowerShell][4].
166+
For a list of platforms that PowerShell 7.4 is supported on and install instructions see [Get PowerShell][4].
167167
168168
[4]: https://github.com/PowerShell/PowerShell#get-powershell
169169

docs/related-projects.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ You can find out more by visiting each repository.
1111
Name | Description
1212
---- | -----------
1313
[microsoft/PSRule] | Core engine responsible for running rules.
14-
[microsoft/ps-rule] | GitHub continious integration using GitHub Actions.
15-
[microsoft/PSRule-pipelines] | Azure DevOps continious integration using Azure Pipelines.
14+
[microsoft/ps-rule] | GitHub continuous integration using GitHub Actions.
15+
[microsoft/PSRule-pipelines] | Azure DevOps continuous integration using Azure Pipelines.
1616
[microsoft/PSRule-vscode] | Support for running and authoring rules within Visual Studio Code.
1717
[microsoft/PSRule.Monitor] | Support for logging PSRule analysis results to Azure Monitor.
1818
[microsoft/PSRule.Rules.CAF] | A suite of rules to validate Azure resources against the Cloud Adoption Framework (CAF) using PSRule.

src/PSRule.Rules.Azure.Benchmark/PSRule.Rules.Azure.Benchmark.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
</PropertyGroup>
2020

2121
<ItemGroup>
22-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.4" />
23-
<PackageReference Include="System.Management.Automation" Version="7.4.4" />
22+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.5" />
23+
<PackageReference Include="System.Management.Automation" Version="7.4.5" />
2424
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.1" />
2525
<PackageReference Include="System.Net.Http" Version="4.3.4" />
2626
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />

src/SDK/SDK.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,4 @@
3939
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
4040
</Content>
4141
</ItemGroup>
42-
43-
<!-- <ItemGroup>
44-
<PackageReference Include="Microsoft.PSRule.SDK" Version="2.3.0-B0001" />
45-
</ItemGroup> -->
4642
</Project>

tests/PSRule.Rules.Azure.Tests/PSRule.Rules.Azure.Tests.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
<ItemGroup>
1313
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
14-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.4" />
15-
<PackageReference Include="System.Management.Automation" Version="7.4.4" />
14+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.5" />
15+
<PackageReference Include="System.Management.Automation" Version="7.4.5" />
1616
<PackageReference Include="xunit" Version="2.9.2" />
1717
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
1818
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)