2024-01-23 23:29:16 +03:00
|
|
|
name: Test API
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "master"
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup .NET 8.0
|
|
|
|
uses: actions/setup-dotnet@v3
|
|
|
|
with:
|
|
|
|
dotnet-version: '8.0'
|
2024-01-24 10:49:10 +03:00
|
|
|
- name: Add nuget source
|
|
|
|
run: dotnet nuget add source --username chebser --password ${{ secrets.NUGET_TOKEN }} --store-password-in-clear-text --name gitea "https://gitea.cebotari.ru/api/packages/chebser/nuget/index.json"
|
2024-01-23 23:29:16 +03:00
|
|
|
- name: Test
|
|
|
|
run: dotnet test
|