Skip to content

fix spelling

fix spelling #16

Workflow file for this run

# refer to https://github.com/microsoft/github-actions-for-desktop-apps
name: .NET Core Desktop
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
strategy:
matrix:
configuration: [Debug, Release]
# The type of runner that the job will run on
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
env:
Solution_Name: EventLogMonitor.sln # Replace with your solution name, i.e. MyWpfApp.sln.
DOTNET_CLI_TELEMETRY_OPTOUT: 'true' # Turn off telemetry
# Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v3
id: stepid
with:
dotnet-version: 6.0.x
- run: echo '${{ steps.stepid.outputs.dotnet-version }}' # outputs version used
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test -c ${{ matrix.configuration }}