From 187c123ac407da5af23fabe3dc8779de4ebc980e Mon Sep 17 00:00:00 2001 From: Leonid Pershin Date: Fri, 17 Oct 2025 01:38:09 +0300 Subject: [PATCH] fb --- .gitea/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 2d3e23b..3fcd2ce 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -18,6 +18,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9.0.x' - name: Cache SonarQube Cloud packages uses: actions/cache@v4 with: @@ -36,6 +40,8 @@ jobs: run: | mkdir -p ~/.sonar/scanner dotnet tool update dotnet-sonarscanner --tool-path ~/.sonar/scanner + - name: Restore dependencies + run: dotnet restore - name: Build and analyze env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}