From fbb4139ce48c7e5d4b6dbff89061471c0ad06b56 Mon Sep 17 00:00:00 2001 From: brandizzi Date: Thu, 30 Jul 2026 12:49:47 -0300 Subject: [PATCH] chore(ci): use descriptive backend check names --- .github/workflows/ci.yml | 37 ++++++++++++++++++++++++++++++------- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 24167e5..335b87c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,34 @@ -name: CI +name: Backend CI + on: pull_request: branches: [main, dev] + +permissions: + contents: read + jobs: - ci: - uses: Sea-Haven-Industries/.github/.github/workflows/ci-dotnet.yaml@main - with: - dotnet-version: "8.0.x" - solution: "SeaHavenIndustries.sln" - run-tests: true + build-and-test: + name: Build and test + runs-on: ubuntu-latest + timeout-minutes: 20 + concurrency: + 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