mirror of
https://github.com/Kareadita/Kavita.git
synced 2026-03-11 12:35:48 -04:00
Co-authored-by: Joseph Milazzo <joseph.v.milazzo@gmail.com> Co-authored-by: Joe Milazzo <josephmajora@gmail.com>
36 lines
771 B
YAML
36 lines
771 B
YAML
name: Build and Test PR
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ '**' ]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build and Test PR
|
|
runs-on: windows-latest
|
|
steps:
|
|
- name: Checkout Repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: Setup .NET Core
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 10.0.x
|
|
|
|
- name: Install Swashbuckle CLI
|
|
shell: powershell
|
|
run: dotnet tool install -g Swashbuckle.AspNetCore.Cli
|
|
|
|
- name: Install dependencies
|
|
run: dotnet restore
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: csproj
|
|
path: Kavita.Common/Kavita.Common.csproj
|
|
|
|
- name: Test
|
|
run: dotnet test --no-restore --verbosity normal
|