26 lines
447 B
YAML
26 lines
447 B
YAML
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
|