Create pull.yaml
This commit is contained in:
1 parent
b56c5fd915
commit
d8bdd7d64d
1 file changed
+25
@@ -0,0 +1,25 @@
|
||||
name: Pull Request Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup .NET 6.0
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: 6.0.x
|
||||
|
||||
- name: Build project
|
||||
run: dotnet build --configuration Release ./src
|
||||
|
||||
- name: Test project
|
||||
run: dotnet test --configuration Release ./src
|
||||
Reference in new issue
Block a user