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