dotnet.yml 724 B

12345678910111213141516171819202122232425262728293031
  1. # This workflow will build a .NET project
  2. # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
  3. name: .NET
  4. on:
  5. push:
  6. branches: [ "main" ]
  7. pull_request:
  8. branches: [ "main" ]
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: actions/checkout@v4
  14. - name: Setup .NET
  15. uses: actions/setup-dotnet@v4
  16. with:
  17. dotnet-version: 7.0.x
  18. - name: Restore dependencies
  19. run: dotnet restore
  20. working-directory: ExcelORM
  21. - name: Build
  22. run: dotnet build --no-restore
  23. working-directory: ExcelORM
  24. - name: Test
  25. run: dotnet test --no-build --verbosity normal
  26. working-directory: ExcelORM