Skip to content

Update container build context and file #45

Update container build context and file

Update container build context and file #45

Workflow file for this run

name: Validate .NET template
on:
schedule:
- cron: '0 0 * * 2'
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
validate-dotnet:
name: Validate .NET solution
runs-on: ubuntu-latest
container: mcr.microsoft.com/dotnet/sdk:7.0
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check .NET version
run: dotnet --version
- name: Build .NET solution
run: dotnet build
working-directory: ./src
- name: Check .NET code format
run: dotnet format --verify-no-changes
working-directory: ./src