From 4da3205320ddf283d988911b158854307fad552a Mon Sep 17 00:00:00 2001 From: Nela-cat Date: Mon, 17 Nov 2025 23:41:54 +0100 Subject: [PATCH] Add .NET build and test jobs --- .gitea/workflows/ci.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 56c1828..ff74129 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -7,18 +7,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - - name: build using gcc - run: gcc -Wall -Werror main.c -o program - - - name: Archive production artifacts - uses: actions/upload-artifact@v3 + - uses: actions/setup-dotnet@v3 with: - name: program - path: program - - - + dotnet-version: '8.0.x' + - run: dotnet restore + - run: dotnet build + + test: + runs-on: ubuntu-latest + steps: + - name: trying to run + run: dotnet run