Compare commits

...

3 Commits

Author SHA1 Message Date
dependabot[bot]
67a07a15de Bump actions/github-script from 7 to 8 (#92)
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-02 11:49:27 -06:00
dependabot[bot]
071e6f2da9 Bump actions/setup-go from 5 to 6 (#91)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 15:34:03 -06:00
Haritha
5ac208ba2e Replace macos-13 with macos-15-intel (#97)
* chore: update macOS version in build workflow to 15-intel

* Update Pester invocation with configuration options

* Install Pester before running tests

Added a step to install Pester before running tests.

* Refactor Pester installation step in workflow

* Clean up build-tool-packages.yml by removing comments

Removed commented-out test run section from workflow.

* Aligning indentation

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Add conditional check for Pester installation

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 12:25:41 -06:00

View File

@@ -76,7 +76,7 @@ jobs:
- os: ubuntu-latest
platform: linux
architecture: x64
- os: macos-13
- os: macos-15-intel
platform: darwin
architecture: x64
- os: windows-latest
@@ -147,7 +147,7 @@ jobs:
- name: Setup Go ${{ inputs.tool-version }}
if: inputs.tool-name == 'go'
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ inputs.tool-version }}
@@ -160,15 +160,26 @@ jobs:
Write-Host "to determine if ${{ inputs.tool-name }} version was consumed from cache or if it was downloaded"
for ($i = 0; $i -lt 200; $i++) { Get-Random }
- name: Ensure Pester Installed
if: env.excludewinarm == 'true'
run: |
$module = Get-Module -ListAvailable -Name Pester
if (-not $module -or ($module.Version -lt [Version]"5.0.0")) {
Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck
}
- name: Run tests
if: env.excludewinarm == 'true'
env:
VERSION: ${{ inputs.tool-version }}
run: |
Install-Module Pester -Force -Scope CurrentUser -SkipPublisherCheck
Import-Module Pester
$toolName = (Get-Culture).TextInfo.ToTitleCase("${{ inputs.tool-name }}")
Invoke-Pester -Script ./$toolName.Tests.ps1 -EnableExit
Invoke-Pester -Configuration @{
Run = @{ Path = "./$toolName.Tests.ps1" }
Should = @{ ErrorAction = 'Continue' }
Output = @{ EnableExit = $true }
}
working-directory: ./tests
publish_release:
@@ -217,7 +228,7 @@ jobs:
}
- name: Upload release assets
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
@@ -241,7 +252,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Trigger "Create Pull Request" workflow
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |