microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
733a37f2b7310e6fd954187427f2af0e713dc286

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.github/workflows/core-ci.yaml

38lines · modepreview

name: Core-CI
permissions:
  contents: read
  pull-requests: write

on:
  pull_request:
    branches: [ main, core/** ]

jobs:
  build-and-test:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4
      with:
        fetch-depth: 0
    
    - name: Setup .NET
      uses: actions/setup-dotnet@v4
      with:
        dotnet-version: '10.0.x'
    
    - name: Restore dependencies
      run: dotnet restore
      working-directory: core
    
    - name: Build Core
      run: dotnet build --no-restore
      working-directory: core
    
    - name: Test
      run: dotnet test --no-build
      working-directory: core

    - name: Build Core Tests
      run: dotnet build
      working-directory: core/test