Skip to content

chore(deps): bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.1 #151

chore(deps): bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.1

chore(deps): bump Microsoft.NET.Test.Sdk from 17.10.0 to 17.11.1 #151

Workflow file for this run

name: dotnet-build
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
issue_comment:
types: [created]
env:
BUILD_CONFIG: Debug
jobs:
build-dotnet:
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' || (github.event_name == 'issue_comment' && github.event.issue.pull_request && contains(github.event.comment.body, '@actions /build')) }}
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Get PR branch
uses: xt0rted/pull-request-comment-branch@v2
id: comment-branch
if: ${{ github.event_name == 'issue_comment' }}
- uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'issue_comment' && steps.comment-branch.outputs.head_ref || ''}}
- uses: guitarrapc/actions/.github/actions/setup-dotnet@main
- name: Build
run: dotnet build -c ${{ env.BUILD_CONFIG }}
- name: Test
run: dotnet test --no-build -c ${{ env.BUILD_CONFIG }} --logger GitHubActions --logger "console;verbosity=normal"