microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
472f3488dd2babca3b3c10b718897fa33d7d25b2

Branches

Tags

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

Clone

HTTPS

Download ZIP

.github/workflows/build-test-lint.yml

56lines · modecode

1name: Build & Test & Lint
2
3on:
4 workflow_call:
5 workflow_dispatch:
6 pull_request:
7 branches: ['main']
8 paths-ignore:
9 - '**/*.md'
10 - 'docs/**'
11 - 'Assets/**'
12 - 'core/**'
13 push:
14 branches: ['main']
15 paths-ignore:
16 - '**/*.md'
17 - 'docs/**'
18 - 'Assets/**'
19 - 'core/**'
20permissions: read-all
21
22jobs:
23 build-test-lint:
24 name: Build & Test & Lint
25 runs-on: ubuntu-latest
26 permissions:
27 contents: read
28
29 steps:
30 - name: Checkout
31 uses: actions/checkout@v4
32 with:
33 fetch-depth: 0
34
35 - name: Setup .NET
36 uses: actions/setup-dotnet@v4
37 with:
38 dotnet-version: '9.0'
39
40 - name: Restore
41 run: dotnet restore
42
43 - name: Build
44 run: dotnet build --no-restore --configuration Release
45
46 - name: Test
47 run: dotnet test --no-restore --verbosity normal --logger trx --configuration Release
48
49 - name: Pack
50 run: dotnet pack --no-restore --configuration Release --output ./nupkgs
51
52 - name: Upload nupkg as workflow artifact
53 uses: actions/upload-artifact@v4
54 with:
55 name: nupkg
56 path: ./nupkgs/*.nupkg