test-cli.yml 599 B

123456789101112131415161718192021222324252627282930
  1. name: CLI Tests
  2. on:
  3. pull_request:
  4. workflow_dispatch:
  5. jobs:
  6. build:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Checkout
  10. uses: actions/checkout@v3
  11. - name: Setup .NET
  12. uses: actions/setup-dotnet@v3
  13. with:
  14. dotnet-version: 10.0.x
  15. - name: Restore
  16. run: dotnet restore
  17. - name: Check Formatting
  18. run: dotnet format --verify-no-changes
  19. - name: Build
  20. run: dotnet build --no-restore --configuration Release
  21. - name: Test
  22. run: dotnet test Tests --no-build --configuration Release --verbosity normal