version: 2.1 jobs: build: docker: - image: mcr.microsoft.com/dotnet/sdk:6.0 working_directory: ~/repo steps: - checkout - run: name: Install dependencies command: dotnet restore - run: name: Build command: dotnet build - run: name: Test command: dotnet test