Revise badges in README.md #7
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: Build and Test | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: windows-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup .NET 5 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "5.0.x" | |
| - name: Setup .NET 10 | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: "10.0.x" | |
| - name: Restore dependencies | |
| run: dotnet restore "Src/Diamond.Core Patterns Solution.sln" | |
| - name: Build | |
| run: dotnet build "Src/Diamond.Core Patterns Solution.sln" --no-restore --configuration Release | |
| - name: Test | |
| run: dotnet test "Src/Diamond.Core Patterns Solution.sln" --no-build --configuration Release --verbosity normal |