Merge pull request #457 from classtranscribe/LimitSlowPathToRecentItems #829
This file contains 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@v2 | |
- 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@v2 | |
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 |