From 408412e71a4a141bcc1920eb1a2bcc3d4c90e997 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 19 Mar 2024 17:22:19 +0100 Subject: [PATCH 1/2] Encoding --- AutomatedLab.Common/AutomatedLab.Common.psd1 | 1 - AutomatedLab.Common/functions/Common/Get-ModuleDependency.ps1 | 2 +- .../functions/DscHelper/Get-RequiredModulesFromMOF.ps1 | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/AutomatedLab.Common/AutomatedLab.Common.psd1 b/AutomatedLab.Common/AutomatedLab.Common.psd1 index 9dce979..fff8dfc 100644 --- a/AutomatedLab.Common/AutomatedLab.Common.psd1 +++ b/AutomatedLab.Common/AutomatedLab.Common.psd1 @@ -44,7 +44,6 @@ 'Get-DotNetFrameworkVersion', 'Get-DscConfigurationImportedResource', 'Get-FullMesh', - 'Get-ModuleDependency', 'Get-NetworkAddress', 'Get-NetworkRange', 'Get-NetworkSummary', diff --git a/AutomatedLab.Common/functions/Common/Get-ModuleDependency.ps1 b/AutomatedLab.Common/functions/Common/Get-ModuleDependency.ps1 index a5e2b6f..90975b0 100644 --- a/AutomatedLab.Common/functions/Common/Get-ModuleDependency.ps1 +++ b/AutomatedLab.Common/functions/Common/Get-ModuleDependency.ps1 @@ -1,4 +1,4 @@ -function Get-ModuleDependency +function Get-ModuleDependency { [CmdletBinding()] [OutputType([System.Management.Automation.PSModuleInfo])] diff --git a/AutomatedLab.Common/functions/DscHelper/Get-RequiredModulesFromMOF.ps1 b/AutomatedLab.Common/functions/DscHelper/Get-RequiredModulesFromMOF.ps1 index ed94d86..c1ce584 100644 --- a/AutomatedLab.Common/functions/DscHelper/Get-RequiredModulesFromMOF.ps1 +++ b/AutomatedLab.Common/functions/DscHelper/Get-RequiredModulesFromMOF.ps1 @@ -1,4 +1,4 @@ -#author Iain Brighton, from here: https://gist.github.com/iainbrighton/9d3dd03630225ee44126769c5d9c50a9 +#author Iain Brighton, from here: https://gist.github.com/iainbrighton/9d3dd03630225ee44126769c5d9c50a9 function Get-RequiredModulesFromMOF { [CmdletBinding()] From 0968833773a37094e2a5157ac899ec5de552a5b9 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 19 Mar 2024 17:29:15 +0100 Subject: [PATCH 2/2] Switch to working os --- .github/workflows/build.yml | 2 +- .github/workflows/validate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d2aa2f..8025cde 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ jobs: build: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index be6a071..f43ec09 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -3,7 +3,7 @@ jobs: validate: - runs-on: ubuntu-latest + runs-on: windows-latest steps: - uses: actions/checkout@v1