From 2e22cb1b2610b3a4a717e3a527ded9fbf3cb3277 Mon Sep 17 00:00:00 2001 From: Relic Date: Sat, 4 Apr 2026 13:11:57 -0400 Subject: [PATCH 1/2] Add CI/CD Add Standard .dotnet CICD --- .gitea/workflows/ci.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..4c3ed14 --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,26 @@ +name: s&box CI + +on: [push, pull_request] + +jobs: + build-and-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9.0.x' + + - name: Restore Dependencies + run: dotnet restore + + - name: Lint Check + # Fails if code isn't formatted according to .editorconfig + run: dotnet format --verify-no-changes --verbosity diagnostic + + - name: Build Project + # Ensures everything compiles + run: dotnet build --no-restore --configuration Release -- 2.43.0 From 86d751e25c65a8174dc4dc51ac8a8579874e57dd Mon Sep 17 00:00:00 2001 From: Relic Date: Sat, 4 Apr 2026 13:11:57 -0400 Subject: [PATCH 2/2] Add CI/CD Add Standard .dotnet CICD --- .gitea/workflows/ci.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 4c3ed14..b2d5ac3 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -1,6 +1,6 @@ name: s&box CI -on: [push, pull_request] +on: [] jobs: build-and-lint: @@ -12,15 +12,4 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: '9.0.x' - - - name: Restore Dependencies - run: dotnet restore - - - name: Lint Check - # Fails if code isn't formatted according to .editorconfig - run: dotnet format --verify-no-changes --verbosity diagnostic - - - name: Build Project - # Ensures everything compiles - run: dotnet build --no-restore --configuration Release + dotnet-version: '10.0.x' -- 2.43.0