Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix configuration file #138

Merged
merged 5 commits into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .configurations/configuration.dsc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,17 @@ properties:
########################################################################
# Section: Configure Git Remotes
########################################################################
# Resource expects the repository already to be cloned to your local machine. If not, use the `GitDSC/GitClone` in conjunction
- resource: GitDSC/GitRemote
dependsOn:
id: add-microsoft-upstream
directives:
description: Add microsoft/winget-dsc as the upstream remote
allowPrerelease: true
settings:
ProjectDirectory: '${WinGetConfigRoot}\..'
RemoteName: upstream
RemoteUrl: https://github.com/microsoft/winget-pkgs.git
RemoteUrl: https://github.com/microsoft/winget-dsc.git
########################################################################
# Section: Install VS-Code
########################################################################
Expand Down Expand Up @@ -81,6 +83,18 @@ properties:
Name: ms-vscode.powershell
Exist: true
########################################################################
# Section: Required dependencies to run DSC resources / tests
########################################################################
- resource: Microsoft.WinGet.DSC/WinGetPackage
id: install-powershell
directives:
description: Install PowerShell
allowPrerelease: true
settings:
id: Microsoft.PowerShell
source: winget
Ensure: Present
########################################################################
# Section: Install PowerShell Modules
########################################################################
- resource: PowerShellModule/PSModuleResource
Expand All @@ -90,6 +104,7 @@ properties:
allowPrerelease: true
settings:
Module_Name: Pester
RequiredVersion: 5.6.1 # Pester ships in-box, that's why we need to specify the version
Ensure: Present
- resource: PowerShellModule/PSModuleResource
id: install-psscriptanalyzer
Expand All @@ -98,5 +113,6 @@ properties:
allowPrerelease: true
settings:
Module_Name: PSScriptAnalyzer
RequiredVersion: 1.23.0 # This module might still not be installed because PowerShell extension includes it
Ensure: Present
configurationVersion: 0.2.0
Loading