Skip to content

Revise badges in README.md #7

Revise badges in README.md

Revise badges in README.md #7

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