Skip to content

Merge pull request #3 from digma-ai/api_key #10

Merge pull request #3 from digma-ai/api_key

Merge pull request #3 from digma-ai/api_key #10

Workflow file for this run

name: Build and Test
on:
push:
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- README.md
env:
DOTNET_VERSION: '9.0.x'
defaults:
run:
working-directory: ./src/DigmaSSEServer
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Cache NuGet
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget-
- run: dotnet restore
- run: dotnet build --no-restore --configuration Release
- run: dotnet test --no-build --configuration Release --verbosity normal