Skip to content

chore(ci)(deps): Bump actions/checkout from 4 to 7 #19

chore(ci)(deps): Bump actions/checkout from 4 to 7

chore(ci)(deps): Bump actions/checkout from 4 to 7 #19

Workflow file for this run

name: build-onprem
# Builds the on-prem solution (Worker + Web + Core). Triggered ONLY when paths
# relevant to that stack change. The shared Core path is intentionally listed
# here AND in build-azure.yml so a single Core change exercises BOTH stacks in
# parallel (this replaces the former build-both.yml regression guard).
on:
push:
branches: [master, main, feature/**]
paths:
- 'src/BitLockerKeyMonitor.Worker/**'
- 'src/BitLockerKeyMonitor.Web/**'
- 'src/BitLockerKeyMonitor.Core/**'
- 'tests/BitLockerKeyMonitor.Core.Tests/**'
- 'BitLockerKeyMonitor.slnx'
- 'Directory.Build.props'
- 'Deploy-Remote.ps1'
- '.github/workflows/build-onprem.yml'
pull_request:
branches: [master, main]
paths:
- 'src/BitLockerKeyMonitor.Worker/**'
- 'src/BitLockerKeyMonitor.Web/**'
- 'src/BitLockerKeyMonitor.Core/**'
- 'tests/BitLockerKeyMonitor.Core.Tests/**'
- 'BitLockerKeyMonitor.slnx'
- 'Directory.Build.props'
- 'Deploy-Remote.ps1'
- '.github/workflows/build-onprem.yml'
jobs:
build:
runs-on: windows-latest
name: Build BitLockerKeyMonitor.slnx
steps:
- uses: actions/checkout@v7
- name: Setup .NET 10
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Restore
run: dotnet restore BitLockerKeyMonitor.slnx
- name: Build
run: dotnet build BitLockerKeyMonitor.slnx --no-restore --nologo -v minimal -c Release
- name: Test (Core)
run: dotnet test BitLockerKeyMonitor.slnx --no-build --no-restore --verbosity minimal -c Release