Fix: Add null check in case a symbol could not be found in the symbol… #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch history | |
run: git fetch --prune --unshallow | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
5.0.x | |
6.0.x | |
8.0.x | |
- name: Restore dependencies | |
run: dotnet restore DotNetSiemensPLCToolBoxLibrary.sln | |
- name: Build | |
run: dotnet build DotNetSiemensPLCToolBoxLibrary.sln | |
- name: Test | |
run: dotnet test DotNetSiemensPLCToolBoxLibrary.sln |