Skip to content

Add formatter to RestSetAcls #10

Add formatter to RestSetAcls

Add formatter to RestSetAcls #10

Workflow file for this run

name: Test RestSetAcls
on:
push:
paths:
- ".github/workflows/RestSetAcls.yml"
- "RestSetAcls/**"
pull_request:
paths:
- ".github/workflows/RestSetAcls.yml"
- "RestSetAcls/**"
jobs:
pester-test:
name: Pester test
runs-on: windows-latest
defaults:
run:
working-directory: .\RestSetAcls
shell: pwsh
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Run all Pester tests
run: |
.\init.ps1
Test
test-format:
name: Test PowerShell formatting
runs-on: windows-latest
defaults:
run:
working-directory: .\RestSetAcls
shell: pwsh
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Test PowerShell formatting
run: |
.\init.ps1
Test-Format
Check-manifest:
name: Check .psd1 manifest file
runs-on: windows-latest
defaults:
run:
working-directory: .\RestSetAcls
shell: pwsh
steps:
- uses: actions/checkout@v4
- name: Check .psd1 file with Test-ModuleManifest
run: |
.\init.ps1
Test-Manifest
lint-with-PSScriptAnalyzer:
name: Install and run PSScriptAnalyzer
runs-on: windows-latest
defaults:
run:
working-directory: .\RestSetAcls
shell: pwsh
steps:
- uses: actions/checkout@v4
- name: Lint with PSScriptAnalyzer
run: |
.\init.ps1
Lint