[CI] build action,增加attestation和打印版本号 #125
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: .NET Tests | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.0.x | |
| - name: Restore | |
| run: dotnet restore MuConvert.slnx | |
| - name: Build | |
| run: dotnet build MuConvert.slnx --configuration Release --no-restore | |
| - name: Test | |
| run: dotnet test tests/MuConvert.Tests.csproj --configuration Release --no-build --verbosity normal |