-
Notifications
You must be signed in to change notification settings - Fork 53
39 lines (38 loc) · 1008 Bytes
/
PullRequest.yml
File metadata and controls
39 lines (38 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
name: Pull Request Validator
on:
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
pwsh: ['7.1.3', '7.5.0']
steps:
- name: Check out repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
with:
fetch-depth: 0
- name: Display the path
shell: pwsh
run: echo ${env:PATH}
- name: Version Display
shell: pwsh
run: $PSVersionTable
- name: Bootstrap
shell: pwsh
run: ./actions_bootstrap.ps1
- name: Test and Build
shell: pwsh
run: Invoke-Build -File .\src\ALZ.build.ps1
- name: Upload pester results
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: pester-results
path: .\src\Artifacts\testOutput
if-no-files-found: warn