blob: 9b6089e4cb8eee7657dcf9200815f3e8a4fbe6c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
# SPDX-License-Identifier: AGPL-3.0-or-later WITH AdditionRef-Progmasoft-Patent-Grant-1.0
name: Backend
on:
push:
branches: [main]
paths:
- "apps/api/**"
- "apps/api-tests/**"
- "Directory.Build.props"
- "Progmaweb.slnx"
- ".github/workflows/backend.yml"
pull_request:
paths:
- "apps/api/**"
- "apps/api-tests/**"
- "Directory.Build.props"
- "Progmaweb.slnx"
- ".github/workflows/backend.yml"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: backend-${{ github.ref }}
cancel-in-progress: true
jobs:
verify:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6
- uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.x
cache: true
cache-dependency-path: "**/*.csproj"
- run: dotnet restore Progmaweb.slnx --locked-mode
- run: dotnet build Progmaweb.slnx --configuration Release --no-restore
- run: dotnet test --project apps/api-tests/Progmaweb.Api.Tests.csproj --configuration Release --no-build
|