Skip to content

Add debug logging via newer CICD package + fix for GitHub (#40) #129

Add debug logging via newer CICD package + fix for GitHub (#40)

Add debug logging via newer CICD package + fix for GitHub (#40) #129

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Set Git Security
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
working-directory: ./GitHubAction
run: dotnet restore ./GitHubAction.sln
- name: Build
working-directory: ./GitHubAction
run: dotnet build --no-restore
- name: Test
working-directory: ./GitHubAction
run: dotnet test --no-build --verbosity normal