Skip to content

github workflow

github workflow #83

Workflow file for this run

name: .NET Core
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_VERSION: 8.0.x
DOTNET_CLI_TELEMETRY_OPTOUT: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup dotnet
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal