Skip to content

chore(deps): update nuget packages #114

chore(deps): update nuget packages

chore(deps): update nuget packages #114

Workflow file for this run

name: Pull request build
on:
pull_request:
branches:
- main
env:
VERSION_TAG: experimental
jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup dotnet environment
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6
- name: Install dependencies
run: dotnet restore src
- name: Build solution
run: dotnet build src --configuration Release --no-restore
- name: Run unit tests
run: dotnet test src --no-restore
- name: Build Docker image for order-generator
uses: docker/build-push-action@v6
with:
file: ./src/Scaler.Demo/OrderGenerator/Dockerfile
tags: cosmosdb-order-generator:${{ env.VERSION_TAG }}
- name: Build Docker image for order-processor
uses: docker/build-push-action@v6
with:
file: ./src/Scaler.Demo/OrderProcessor/Dockerfile
tags: cosmosdb-order-processor:${{ env.VERSION_TAG }}
- name: Build Docker image for scaler
uses: docker/build-push-action@v6
with:
file: ./src/Scaler/Dockerfile
tags: cosmosdb-scaler:${{ env.VERSION_TAG }}