-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1318 from Badgerati/develop
v2.10.1
- Loading branch information
Showing
70 changed files
with
2,707 additions
and
1,658 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Pode CI - Docs | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!gh-pages' | ||
paths: | ||
- 'mkdocs.yml' | ||
- 'mkdocs-overrides/**' | ||
- 'docs/**' | ||
- '.github/workflows/ci-docs.yml' | ||
- 'pode.build.ps1' | ||
- 'src/Pode.psd1' | ||
pull_request: | ||
branches: | ||
- '*' | ||
paths: | ||
- 'mkdocs.yml' | ||
- 'mkdocs-overrides/**' | ||
- 'docs/**' | ||
- '.github/workflows/ci-docs.yml' | ||
- 'pode.build.ps1' | ||
- 'src/Pode.psd1' | ||
|
||
env: | ||
INVOKE_BUILD_VERSION: '5.11.1' | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Invoke-Build | ||
shell: pwsh | ||
run: | | ||
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force | ||
- name: Build Documentation | ||
shell: pwsh | ||
run: | | ||
Invoke-Build DocsBuild |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Pode CI - No Build Needed | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
- '!gh-pages' | ||
paths-ignore: | ||
- 'mkdocs.yml' | ||
- 'mkdocs-overrides/**' | ||
- 'docs/**' | ||
- 'src/**' | ||
- 'tests/**' | ||
- '.github/workflows/ci-docs.yml' | ||
- '.github/workflows/ci-pwsh*.yml' | ||
- '.github/workflows/ci-powershell.yml' | ||
- '.github/workflows/ci-coverage.yml' | ||
- '.github/workflows/PSScriptAnalyzer.yml' | ||
- 'pode.build.ps1' | ||
- 'Dockerfile' | ||
- '*.dockerfile' | ||
- 'PSScriptAnalyzerSettings.psd1' | ||
pull_request: | ||
branches: | ||
- '*' | ||
paths-ignore: | ||
- 'mkdocs.yml' | ||
- 'mkdocs-overrides/**' | ||
- 'docs/**' | ||
- 'src/**' | ||
- 'tests/**' | ||
- '.github/workflows/ci-docs.yml' | ||
- '.github/workflows/ci-pwsh*.yml' | ||
- '.github/workflows/ci-powershell.yml' | ||
- '.github/workflows/ci-coverage.yml' | ||
- '.github/workflows/PSScriptAnalyzer.yml' | ||
- 'pode.build.ps1' | ||
- 'Dockerfile' | ||
- '*.dockerfile' | ||
- 'PSScriptAnalyzerSettings.psd1' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- name: Install Invoke-Build | ||
shell: pwsh | ||
run: | | ||
Write-Host "No build needed for this commit" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,30 @@ on: | |
branches: | ||
- '*' | ||
- '!gh-pages' | ||
paths: | ||
- 'src/**' | ||
- 'tests/**' | ||
- 'pode.build.ps1' | ||
- '.github/workflows/ci-pwsh7_2.yml' | ||
- 'Dockerfile' | ||
- '*.dockerfile' | ||
pull_request: | ||
branches: | ||
- '*' | ||
paths: | ||
- 'src/**' | ||
- 'tests/**' | ||
- 'pode.build.ps1' | ||
- '.github/workflows/ci-pwsh7_2.yml' | ||
- 'Dockerfile' | ||
- '*.dockerfile' | ||
|
||
env: | ||
INVOKE_BUILD_VERSION: '5.11.1' | ||
POWERSHELL_VERSION: '7.2.19' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
|
@@ -22,32 +39,41 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Powershell | ||
uses: bjompen/[email protected] | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
FixedVersion: '7.2.18' | ||
dotnet-version: 8.0.x | ||
|
||
- name: Check PowerShell version | ||
- name: Setup Powershell - Unix | ||
shell: pwsh | ||
if: runner.os == 'Linux' || runner.os == 'macOS' | ||
run: | | ||
$PSVersionTable.PSVersion | ||
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force | ||
Invoke-Build SetupPowerShell -PowerShellVersion $env:POWERSHELL_VERSION | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: 8.0.x | ||
- name: Setup Powershell - Windows | ||
shell: PowerShell | ||
if: runner.os == 'Windows' | ||
run: | | ||
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force | ||
Invoke-Build SetupPowerShell -PowerShellVersion $env:POWERSHELL_VERSION | ||
- name: Output PowerShell version | ||
shell: pwsh | ||
run: | | ||
$PSVersionTable.PSVersion | ||
- name: Install Invoke-Build | ||
shell: pwsh | ||
run: | | ||
Install-Module -Name InvokeBuild -RequiredVersion '5.10.5' -Force | ||
run: | | ||
Install-Module -Name InvokeBuild -RequiredVersion $env:INVOKE_BUILD_VERSION -Force | ||
- name: Run Pester Tests | ||
shell: pwsh | ||
run: | | ||
Invoke-Build Test | ||
- name: Test docker builds | ||
- name: Build Packages | ||
shell: pwsh | ||
run: | | ||
Invoke-Build DockerPack -Version '0.0.0' | ||
Invoke-Build Pack |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.