name: Build on: push: branches: - main pull_request: branches: - main jobs: build: runs-on: ubuntu-latest env: DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: true steps: - name: Checkout repository uses: actions/checkout@v6 - name: Set up dotnet uses: https://github.com/actions/setup-dotnet@v5 with: dotnet-version: 10.0.x - name: Build project run: dotnet build -c Release - name: Test project run: dotnet test -c Release