mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-07 16:19:07 +00:00
chore(ci): use descriptive backend check names
This commit is contained in:
parent
b2aeb35a55
commit
fbb4139ce4
1 changed files with 30 additions and 7 deletions
37
.github/workflows/ci.yml
vendored
37
.github/workflows/ci.yml
vendored
|
|
@ -1,11 +1,34 @@
|
||||||
name: CI
|
name: Backend CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main, dev]
|
branches: [main, dev]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
build-and-test:
|
||||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-dotnet.yaml@main
|
name: Build and test
|
||||||
with:
|
runs-on: ubuntu-latest
|
||||||
dotnet-version: "8.0.x"
|
timeout-minutes: 20
|
||||||
solution: "SeaHavenIndustries.sln"
|
concurrency:
|
||||||
run-tests: true
|
group: backend-ci-${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v7
|
||||||
|
|
||||||
|
- name: Set up .NET
|
||||||
|
uses: actions/setup-dotnet@v6
|
||||||
|
with:
|
||||||
|
dotnet-version: "8.0.x"
|
||||||
|
|
||||||
|
- name: Restore
|
||||||
|
run: dotnet restore SeaHavenIndustries.sln
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: dotnet build SeaHavenIndustries.sln --no-restore --configuration Release
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
run: dotnet test SeaHavenIndustries.sln --no-build --configuration Release
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue