dotnetcore.yml 396 B

123456789101112131415161718192021
  1. name: .NET
  2. on: [push]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Setup .NET
  9. uses: actions/setup-dotnet@v1
  10. with:
  11. dotnet-version: 5.0.x
  12. - name: Restore dependencies
  13. run: dotnet restore
  14. - name: Test
  15. run: dotnet test --no-build --verbosity normal
  16. - name: Build
  17. run: dotnet build --no-restore