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 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()]