Skip to content

#41: adding the CICD for the .net #1

#41: adding the CICD for the .net

#41: adding the CICD for the .net #1

name: .NET SwiftParcel Microservice CI/CD
on: [push, pull_request]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- name: Build and Test
run: |
dotnet restore
dotnet build --no-restore
dotnet test --no-build --verbosity normal
# Add Docker build and push steps here