Update pwsh style to latest community standards #52

Merged
OCram85 merged 19 commits from rework2022 into master 2022-06-28 08:56:33 +02:00
Showing only changes of commit 41ef877111 - Show all commits

View File

@ -34,24 +34,25 @@ steps:
---
kind: pipeline
type: docker
name: WINDOWS_PWSH7_Build
plattform:
os: windows
platform:
os: linux
arch: amd64
steps:
- name: Environments
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
commands:
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-ShowEnv -Verbose}"
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-InstallDependencies -Verbose}"
- name: LintTests
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
commands:
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-Linter}"
- name: UnitTests
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
commands:
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"