b77e5baf08
Add platform label to run on Linux runners with Docker support. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
633 B
YAML
31 lines
633 B
YAML
# Pull Request Pipeline - Build and test only
|
|
when:
|
|
- event: pull_request
|
|
|
|
labels:
|
|
platform: linux/amd64
|
|
|
|
clone:
|
|
- name: clone
|
|
image: woodpeckerci/plugin-git
|
|
settings:
|
|
lfs: false
|
|
|
|
steps:
|
|
- name: restore
|
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
|
commands:
|
|
- dotnet restore
|
|
|
|
- name: build
|
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
|
commands:
|
|
- dotnet build --no-restore -c Release
|
|
depends_on: [restore]
|
|
|
|
- name: test
|
|
image: mcr.microsoft.com/dotnet/sdk:10.0
|
|
commands:
|
|
- dotnet test --no-build -c Release --logger "console;verbosity=detailed"
|
|
depends_on: [build]
|