Skip to content

Commit 84b5357

Browse files
🚀 [Feature]: Restructure for Process-PSModule v3 (#13)
## Description - Removing support for Windows PowerShell - directional change for PSModule. - Remove nuget from Dependabot settings - Using Process-PSModule v3 - Restructure for v3 ## Type of change <!-- Use the check-boxes [x] on the options that are relevant. --> - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [x] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist <!-- Use the check-boxes [x] on the options that are relevant. --> - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas
1 parent 5222af1 commit 84b5357

File tree

10 files changed

+21
-6
lines changed

10 files changed

+21
-6
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,3 @@ updates:
99
directory: / # Location of package manifests
1010
schedule:
1111
interval: weekly
12-
- package-ecosystem: nuget # See documentation for possible values
13-
directory: / # Location of package manifests
14-
schedule:
15-
interval: weekly

.github/workflows/Linter.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ jobs:
2727
uses: super-linter/super-linter@latest
2828
env:
2929
GITHUB_TOKEN: ${{ github.token }}
30+
VALIDATE_MARKDOWN_PRETTIER: false
31+
VALIDATE_YAML_PRETTIER: false

.github/workflows/Nightly-Run.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ on:
77

88
permissions:
99
contents: read
10+
pull-requests: write
11+
statuses: write
1012

1113
jobs:
1214
Process-PSModule:
13-
uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v2
15+
uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v3
1416
secrets: inherit

.github/workflows/Process-PSModule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ permissions:
2626

2727
jobs:
2828
Process-PSModule:
29-
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v2
29+
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v3
3030
secrets: inherit
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/PowerShellGallery.Tests.ps1

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,19 @@ Param(
88
Write-Verbose "Path to the module: [$Path]" -Verbose
99

1010
Describe 'PowerShellGallery' {
11+
Context 'Function: Get-PSGalleryAPI' {
12+
It 'Should not throw' {
13+
{ Get-PSGalleryAPI } | Should -Not -Throw
14+
}
15+
}
16+
Context 'Function: Hide-PowerShellGalleryItem' {
17+
It 'Should not throw' {
18+
{ Hide-PowerShellGalleryItem } | Should -Not -Throw
19+
}
20+
}
21+
Context 'Function: Show-PowerShellGalleryItem' {
22+
It 'Should not throw' {
23+
{ Show-PowerShellGalleryItem } | Should -Not -Throw
24+
}
25+
}
1126
}

0 commit comments

Comments
 (0)