Skip to content

GitHub action

GitHub action #1

Workflow file for this run

name: .NET
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.x'
- name: Install dependencies
run: dotnet restore
- name: Build the project
run: dotnet build --no-restore
- name: Run tests
run: dotnet test --no-build --verbosity minimal