Update pwsh style to latest community standards #52
13
.drone.yml
13
.drone.yml
@ -34,24 +34,25 @@ steps:
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
name: WINDOWS_PWSH7_Build
|
||||||
|
|
||||||
plattform:
|
platform:
|
||||||
os: windows
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Environments
|
- name: Environments
|
||||||
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
|
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
|
||||||
commands:
|
commands:
|
||||||
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-ShowEnv -Verbose}"
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-ShowEnv -Verbose}"
|
||||||
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-InstallDependencies -Verbose}"
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1' -Verbose; Invoke-InstallDependencies -Verbose}"
|
||||||
- name: LintTests
|
- name: LintTests
|
||||||
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
|
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
|
||||||
commands:
|
commands:
|
||||||
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
|
||||||
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-Linter}"
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-Linter}"
|
||||||
- name: UnitTests
|
- name: UnitTests
|
||||||
image: mcr.microsoft.com/powershell:lts-7.2-nanoserver-1809
|
image: mcr.microsoft.com/powershell:lts-windowsservercore-ltsc2022
|
||||||
commands:
|
commands:
|
||||||
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-InstallDependencies}"
|
||||||
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"
|
- pwsh -NonInteractive -c "& {Import-Module './tools/DroneIO.psm1'; Invoke-UnitTests}"
|
||||||
|
Loading…
Reference in New Issue
Block a user