From 70bdfd9ebd65a788d3a1742cf3f5e175949b40a9 Mon Sep 17 00:00:00 2001 From: Bernie White Date: Sat, 19 Oct 2024 16:56:16 +1000 Subject: [PATCH] Update PowerShell dependencies (#3131) --- .github/dependabot.yml | 4 ---- docs/install.md | 4 ++-- docs/related-projects.md | 4 ++-- .../PSRule.Rules.Azure.Benchmark.csproj | 4 ++-- src/SDK/SDK.csproj | 4 ---- .../PSRule.Rules.Azure.Tests/PSRule.Rules.Azure.Tests.csproj | 4 ++-- 6 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d6e1e44a3f4..7e1b2748e1a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -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 diff --git a/docs/install.md b/docs/install.md index 39760234a14..7a479cce9c8 100644 --- a/docs/install.md +++ b/docs/install.md @@ -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. @@ -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 diff --git a/docs/related-projects.md b/docs/related-projects.md index bbf3be0d407..75ceedb648b 100644 --- a/docs/related-projects.md +++ b/docs/related-projects.md @@ -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. diff --git a/src/PSRule.Rules.Azure.Benchmark/PSRule.Rules.Azure.Benchmark.csproj b/src/PSRule.Rules.Azure.Benchmark/PSRule.Rules.Azure.Benchmark.csproj index ed98a69268b..50dd8988c63 100644 --- a/src/PSRule.Rules.Azure.Benchmark/PSRule.Rules.Azure.Benchmark.csproj +++ b/src/PSRule.Rules.Azure.Benchmark/PSRule.Rules.Azure.Benchmark.csproj @@ -19,8 +19,8 @@ - - + + diff --git a/src/SDK/SDK.csproj b/src/SDK/SDK.csproj index 17e86bcf042..f1eeef090eb 100644 --- a/src/SDK/SDK.csproj +++ b/src/SDK/SDK.csproj @@ -39,8 +39,4 @@ PreserveNewest - - diff --git a/tests/PSRule.Rules.Azure.Tests/PSRule.Rules.Azure.Tests.csproj b/tests/PSRule.Rules.Azure.Tests/PSRule.Rules.Azure.Tests.csproj index 89e3ac05b67..cc683dcdcd9 100644 --- a/tests/PSRule.Rules.Azure.Tests/PSRule.Rules.Azure.Tests.csproj +++ b/tests/PSRule.Rules.Azure.Tests/PSRule.Rules.Azure.Tests.csproj @@ -11,8 +11,8 @@ - - + + all