Skip to content
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
4 changes: 0 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,3 @@ updates:
directory: / # Location of package manifests
schedule:
interval: weekly
- package-ecosystem: nuget # See documentation for possible values
directory: / # Location of package manifests
schedule:
interval: weekly
2 changes: 2 additions & 0 deletions .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ jobs:
uses: super-linter/super-linter@latest
env:
GITHUB_TOKEN: ${{ github.token }}
VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_YAML_PRETTIER: false
4 changes: 3 additions & 1 deletion .github/workflows/Nightly-Run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ on:

permissions:
contents: read
pull-requests: write
statuses: write

jobs:
Process-PSModule:
uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v2
uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v3
secrets: inherit
2 changes: 1 addition & 1 deletion .github/workflows/Process-PSModule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ permissions:

jobs:
Process-PSModule:
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v2
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v3
secrets: inherit
15 changes: 15 additions & 0 deletions tests/PowerShellGallery.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,19 @@ Param(
Write-Verbose "Path to the module: [$Path]" -Verbose

Describe 'PowerShellGallery' {
Context 'Function: Get-PSGalleryAPI' {
It 'Should not throw' {
{ Get-PSGalleryAPI } | Should -Not -Throw
}
}
Context 'Function: Hide-PowerShellGalleryItem' {
It 'Should not throw' {
{ Hide-PowerShellGalleryItem } | Should -Not -Throw
}
}
Context 'Function: Show-PowerShellGalleryItem' {
It 'Should not throw' {
{ Show-PowerShellGalleryItem } | Should -Not -Throw
}
}
}