fix: use separate pipeline files instead of multi-document YAML
YAML anchors don't work across document boundaries in multi-document files. Using separate files in .woodpecker/ directory instead, which is the recommended approach and matches WeightTracker's pattern. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Pull Request Pipeline - Build and test only
|
||||
when:
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: restore
|
||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
||||
commands:
|
||||
- dotnet restore
|
||||
|
||||
- name: build
|
||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
||||
commands:
|
||||
- dotnet build --no-restore -c Release
|
||||
depends_on: [restore]
|
||||
|
||||
- name: test
|
||||
image: mcr.microsoft.com/dotnet/sdk:10.0-preview
|
||||
commands:
|
||||
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
|
||||
depends_on: [build]
|
||||
Reference in New Issue
Block a user