client-dotnet/.gitlab-ci.yml

30 lines
438 B
YAML

image: mcr.microsoft.com/dotnet/sdk:5.0
stages:
- test
- release
test:
stage: test
script:
- dotnet tool restore
- dotnet nuke Test
protobuf-lint:
stage: test
image:
name: docker.io/bufbuild/buf:latest
entrypoint: [""]
script:
- cd api/
- buf ls-files
- buf lint
nuget-publish:
stage: release
only:
refs:
- tags
script:
- dotnet tool restore
- dotnet nuke NuGetPush