Skip to content

Commit

Permalink
Update PowerShell dependencies (#3131)
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite authored Oct 19, 2024
1 parent 86efac5 commit 70bdfd9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ updates:
- dependencies
reviewers:
- azure/psrule-rules-azure
ignore:
# Ignore upgrades to PS 7.1 for tool chain components at this time
- dependency-name: Microsoft.PowerShell.SDK
- dependency-name: System.Management.Automation

# Maintain dependencies for GitHub Actions
- package-ecosystem: github-actions
Expand Down
4 changes: 2 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ You can also use this option to install on CI workers that are not natively supp
Operating System | Tool | Installation Link
---------------- | ---- | -----------------
Windows | Windows PowerShell 5.1 with .NET Framework 4.7.2 or greater. | [link](https://dotnet.microsoft.com/download/dotnet-framework/net48)
Windows, MacOS, Linux | PowerShell version 7.3.x or greater. | [link](https://github.com/PowerShell/PowerShell#get-powershell)
Windows, MacOS, Linux | PowerShell version 7.4.x or greater. | [link](https://github.com/PowerShell/PowerShell#get-powershell)
To use PSRule for Azure, PSRule a separate PowerShell module must be installed.
The required version will automatically be installed along-side PSRule for Azure.
Expand All @@ -163,7 +163,7 @@ PowerShell modules:
### Installing PowerShell
PowerShell 7.x can be installed on MacOS, Linux, and Windows but is not installed by default.
For a list of platforms that PowerShell 7.3 is supported on and install instructions see [Get PowerShell][4].
For a list of platforms that PowerShell 7.4 is supported on and install instructions see [Get PowerShell][4].
[4]: https://github.com/PowerShell/PowerShell#get-powershell
Expand Down
4 changes: 2 additions & 2 deletions docs/related-projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ You can find out more by visiting each repository.
Name | Description
---- | -----------
[microsoft/PSRule] | Core engine responsible for running rules.
[microsoft/ps-rule] | GitHub continious integration using GitHub Actions.
[microsoft/PSRule-pipelines] | Azure DevOps continious integration using Azure Pipelines.
[microsoft/ps-rule] | GitHub continuous integration using GitHub Actions.
[microsoft/PSRule-pipelines] | Azure DevOps continuous integration using Azure Pipelines.
[microsoft/PSRule-vscode] | Support for running and authoring rules within Visual Studio Code.
[microsoft/PSRule.Monitor] | Support for logging PSRule analysis results to Azure Monitor.
[microsoft/PSRule.Rules.CAF] | A suite of rules to validate Azure resources against the Cloud Adoption Framework (CAF) using PSRule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.4" />
<PackageReference Include="System.Management.Automation" Version="7.4.4" />
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.5" />
<PackageReference Include="System.Management.Automation" Version="7.4.5" />
<PackageReference Include="Microsoft.Extensions.CommandLineUtils" Version="1.1.1" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" />
Expand Down
4 changes: 0 additions & 4 deletions src/SDK/SDK.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,4 @@
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>

<!-- <ItemGroup>
<PackageReference Include="Microsoft.PSRule.SDK" Version="2.3.0-B0001" />
</ItemGroup> -->
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.4" />
<PackageReference Include="System.Management.Automation" Version="7.4.4" />
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.4.5" />
<PackageReference Include="System.Management.Automation" Version="7.4.5" />
<PackageReference Include="xunit" Version="2.9.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
<PrivateAssets>all</PrivateAssets>
Expand Down

0 comments on commit 70bdfd9

Please sign in to comment.