Skip to content

Commit

Permalink
Merge pull request #278 from jakkulabs/update-tools-versions
Browse files Browse the repository at this point in the history
Bumped tools versions for CI Pipeline
  • Loading branch information
jonathanmedd authored Aug 27, 2021
2 parents 952aff2 + f41d93c commit 66fed76
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
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/[email protected].8
uses: gittools/actions/gitversion/[email protected].10
with:
versionSpec: '5.6.9'
versionSpec: '5.x'

- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/[email protected].8
uses: gittools/actions/gitversion/[email protected].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

0 comments on commit 66fed76

Please sign in to comment.