From 6303ec6082794ce50c58743e5d4c3a9b6a410cd5 Mon Sep 17 00:00:00 2001 From: mcmuzzle Date: Wed, 26 Mar 2025 22:28:06 +0100 Subject: [PATCH] ajout d'un debut de CI --- .gitea/Main.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/Main.yaml diff --git a/.gitea/Main.yaml b/.gitea/Main.yaml new file mode 100644 index 0000000..ff72bad --- /dev/null +++ b/.gitea/Main.yaml @@ -0,0 +1,26 @@ +name: check main state + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + dotnet-version: [ '9.0.x' ] + + steps: + - uses: actions/checkout@v4 + - name: Setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '9.0.x' + - name: Install dependencies + run: dotnet restore ./Giants.sln + - name: Build + run: dotnet build ./Giants.sln + - name: Check format + run: dotnet format + - name: Test with the dotnet CLI + run: dotnet test ./Giants.sln