client-dotnet/.gitlab-ci.yml

31 lines
451 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:
- master
- tags
script:
- dotnet tool restore
- dotnet nuke Publish