Remove unused DocFX tool and Azure pipeline templates (#22) #57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pr_validation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - dev | |
| - main | |
| pull_request: | |
| branches: | |
| - master | |
| - dev | |
| - main | |
| jobs: | |
| test: | |
| name: Test-${{matrix.os}} | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| lfs: true | |
| fetch-depth: 0 | |
| - name: "Install .NET SDK" | |
| uses: actions/setup-dotnet@v5.1.0 | |
| with: | |
| global-json-file: "./global.json" | |
| - name: "Restore .NET tools" | |
| run: dotnet tool restore | |
| - name: "Update release notes" | |
| shell: pwsh | |
| run: | | |
| ./build.ps1 | |
| - name: "dotnet build" | |
| run: dotnet build -c Release | |
| - name: "dotnet test" | |
| shell: bash | |
| run: dotnet test -c Release | |
| pack: | |
| name: NuGet Pack | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| lfs: true | |
| fetch-depth: 0 | |
| - name: "Install .NET SDK" | |
| uses: actions/setup-dotnet@v5.1.0 | |
| with: | |
| global-json-file: "./global.json" | |
| - name: "dotnet pack" | |
| run: dotnet pack -c Release -o ./bin/nuget | |
| - name: "Upload NuGet Artifacts" | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: nuget-packages | |
| path: ./bin/nuget/*.nupkg | |
| retention-days: 7 | |
| slopwatch: | |
| name: Slopwatch | |
| runs-on: ubuntu-latest | |
| needs: test | |
| timeout-minutes: 10 | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: "Install .NET SDK" | |
| uses: actions/setup-dotnet@v5.1.0 | |
| with: | |
| global-json-file: "./global.json" | |
| - name: "Restore .NET tools" | |
| run: dotnet tool restore | |
| - name: "slopwatch analyze" | |
| run: dotnet slopwatch analyze | |
| docker: | |
| name: Docker Build | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - name: "Checkout" | |
| uses: actions/checkout@v6.0.2 | |
| with: | |
| lfs: true | |
| fetch-depth: 0 | |
| - name: "Install .NET SDK" | |
| uses: actions/setup-dotnet@v5.1.0 | |
| with: | |
| global-json-file: "./global.json" | |
| - name: "Build Container Image" | |
| run: dotnet publish src/SkillServer/SkillServer.csproj -c Release /t:PublishContainer |