Skip to content

Commit

Permalink
Merge pull request #8 from XanatosX/feature/add-pipeline-for-merge-re…
Browse files Browse the repository at this point in the history
…quests

Create check-pull-requests.yml
  • Loading branch information
XanatosX authored Aug 1, 2022
2 parents 72596c5 + 371f447 commit 791c126
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check-pull-requests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check pull request

on:
pull_request:
branches: [ "main", "develop" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit 791c126

Please sign in to comment.