Skip to content

Update project to .NET 8.0 and upgrade dependencies #215

Update project to .NET 8.0 and upgrade dependencies

Update project to .NET 8.0 and upgrade dependencies #215

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
permissions:
security-events: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript, csharp
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Restore dependencies
working-directory: ./demos/net5/GrpcDemo
run: dotnet restore
- name: Build
working-directory: ./demos/net5/GrpcDemo
run: dotnet build --no-restore -c Release --verbosity normal
- name: Test
working-directory: ./demos/net5/GrpcDemo
run: dotnet test --no-build -c Release --verbosity normal
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3