From 067ccc883facc38813a10431c461f5948dc8903f Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 17 May 2025 18:03:48 +0200 Subject: [PATCH] Test gitea action --- .gitea/workflows/build.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..48d9a91 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,22 @@ +name: Build +run-name: Build for ${{ gitea.actor }} +on: [ push, pull_request ] + +jobs: + Build: + runs-on: [ ubuntu-latest ] + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 9.0.x + - name: Restore + run: dotnet restore PkmnLib.NET.slnx --nologo --verbosity quiet + - name: Build + run: dotnet build PkmnLib.NET.slnx -c Release --nologo --verbosity quiet -p:NoWarn=CS1591 + - name: Test + run: dotnet test PkmnLib.NET.slnx -c Release --nologo --no-restore --no-build \ No newline at end of file