Upgrade dot net to 10.0 #921
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - staging | |
| - expt | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: '8.0.x' # SDK Version to use; x will use the latest version of the channel | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/.nuget/packages | |
| key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-nuget- | |
| - name: Compile application | |
| run: | | |
| dotnet build ClassTranscribeServer.sln --configuration Release | |
| - name: Run unit tests | |
| run: | | |
| dotnet test UnitTests --configuration Release -v n |