Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: adapt build-and-test.yml for new slnx format, adjust target branches
Signed-off-by: Kenny Pflug <[email protected]>
  • Loading branch information
feO2x committed Mar 25, 2025
commit f6353d0fbf949bee6cdeb3b921be9e8f5f3a279b
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Build and Test

on:
push:
branches: [main, dev]
branches: [main]
paths: ['Code/**', 'build-and-test.yml']
pull_request:
branches: [main, dev]
branches: [main]
paths: ['Code/**', 'build-and-test.yml']

jobs:
Expand All @@ -20,8 +20,8 @@ jobs:
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore ./Code/Light.SharedCore.sln
run: dotnet restore ./Code/Light.SharedCore.slnx
- name: Build
run: dotnet build ./Code/Light.SharedCore.sln -c Release --no-restore
run: dotnet build ./Code/Light.SharedCore.slnx -c Release --no-restore
- name: Test
run: dotnet test ./Code/Light.SharedCore.Tests/Light.SharedCore.Tests.csproj -c Release --no-build --verbosity normal
Loading