Skip to content

Commit

Permalink
Update dotnet-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Jul 31, 2024
1 parent dd88f1f commit b79a390
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
name: .NET Tests
on:
push:
paths:
- '**.cs'
- '**.csproj'
pull_request:
branches: [ "main" ]
paths:
- '**.cs'
- '**.csproj'
workflow_dispatch:

jobs:

test-codebase:
if: ${{ (github.event_name == 'push' || github.event_name == 'pull_request') && (endsWith(github.event.head_commit.modified, '.cs') || endsWith(github.event.head_commit.modified, '.csproj')) }} || github.event_name == 'workflow_dispatch'
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

Expand Down

0 comments on commit b79a390

Please sign in to comment.