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

Bumped tools versions for CI Pipeline #278

Merged
merged 2 commits into from
Aug 27, 2021
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/ps-module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
fetch-depth: 0

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.9.8
uses: gittools/actions/gitversion/setup@v0.9.10
with:
versionSpec: '5.6.9'
versionSpec: '5.x'

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.8
uses: gittools/actions/gitversion/execute@v0.9.10
with:
useConfigFile: true
configFilePath: GitVersion.yml
Expand Down
10 changes: 8 additions & 2 deletions tools/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,20 @@ $Requirements = @(
},
@{
Name = "Pester"
Version = "5.2.1"
Version = "5.2.2"
},
@{
Name = "platyPS"
Version = "0.14.1"
Version = "0.14.2"
}
)

# --- Configure default PowerShell Gallery Repository if not present
if (-not (Get-PSRepository)){

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
}

# --- Install dependencies
Write-Host "Installing required modules:"
foreach ($RequiredModule in $Requirements) {
Expand Down
2 changes: 1 addition & 1 deletion tools/build.psake.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using namespace System.Management.Automation.Language
#Requires -Modules @{ModuleName="PSake"; RequiredVersion="4.9.0"},@{ModuleName="PSScriptAnalyzer"; RequiredVersion="1.19.1"},@{ModuleName="BuildHelpers"; RequiredVersion="2.0.16"}
#Requires -Modules @{ModuleName="Pester"; RequiredVersion="5.2.1"},@{ModuleName="platyPS"; RequiredVersion="0.14.1"}
#Requires -Modules @{ModuleName="Pester"; RequiredVersion="5.2.2"},@{ModuleName="platyPS"; RequiredVersion="0.14.2"}

Write-Host "Module versions are:"
Get-Module -Name Psake,PSScriptAnalyzer,BuildHelpers,Pester,platyPS
Expand Down