microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
.github/workflows/core-ci.yaml
40lines · modecode
| 1 | name: Core-CI |
| 2 | permissions: |
| 3 | contents: read |
| 4 | pull-requests: write |
| 5 | |
| 6 | on: |
| 7 | push: |
| 8 | branches: [ next/core ] |
| 9 | pull_request: |
| 10 | branches: [ next/core ] |
| 11 | |
| 12 | jobs: |
| 13 | build-and-test: |
| 14 | runs-on: ubuntu-latest |
| 15 | |
| 16 | steps: |
| 17 | - uses: actions/checkout@v4 |
| 18 | with: |
| 19 | fetch-depth: 0 |
| 20 | |
| 21 | - name: Setup .NET |
| 22 | uses: actions/setup-dotnet@v4 |
| 23 | with: |
| 24 | dotnet-version: '10.0.x' |
| 25 | |
| 26 | - name: Restore dependencies |
| 27 | run: dotnet restore |
| 28 | working-directory: core |
| 29 | |
| 30 | - name: Build Core |
| 31 | run: dotnet build --no-restore |
| 32 | working-directory: core |
| 33 | |
| 34 | - name: Test |
| 35 | run: dotnet test --no-build |
| 36 | working-directory: core |
| 37 | |
| 38 | - name: Build Core Tests |
| 39 | run: dotnet build |
| 40 | working-directory: core/test |