-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (36 loc) · 1.26 KB
/
Copy pathci.yml
File metadata and controls
48 lines (36 loc) · 1.26 KB
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
40
41
42
43
44
45
46
47
48
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
global-json-file: global.json
cache: true
cache-dependency-path: ZeroCue.DataProbe/packages.lock.json
- name: Verify .NET SDK
run: dotnet --version
- name: Restore locked dependencies
run: dotnet restore ZeroCue.DataProbe/ZeroCue.DataProbe.csproj --locked-mode
- name: Verify bundled runtime assets
shell: pwsh
run: ./scripts/verify-runtime-assets.ps1
- name: Verify driver restoration boundaries
shell: pwsh
run: ./scripts/verify-driver-safety.ps1
- name: Audit dependency and runtime licenses
shell: pwsh
run: ./scripts/collect-third-party-notices.ps1 -DestinationRoot "$env:RUNNER_TEMP\zerocue-license-audit"
- name: Build
run: dotnet build ZeroCue.DataProbe/ZeroCue.DataProbe.csproj --configuration Release --no-restore
- name: Audit NuGet packages
run: dotnet list ZeroCue.DataProbe/ZeroCue.DataProbe.csproj package --vulnerable --include-transitive