-
Notifications
You must be signed in to change notification settings - Fork 3
35 lines (29 loc) · 1.02 KB
/
dotnet-plugin.yml
File metadata and controls
35 lines (29 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: .NET ObservabilityPlugin
on:
workflow_dispatch:
push:
branches: ['main']
pull_request:
branches: ['main']
paths:
- 'sdk/@launchdarkly/observability-dotnet/**'
- '.github/workflows/dotnet-plugin.yml'
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9
with:
dotnet-version: '8.0.x'
- run: dotnet restore
working-directory: sdk/@launchdarkly/observability-dotnet
- run: dotnet build --no-restore
working-directory: sdk/@launchdarkly/observability-dotnet
- run: dotnet test --no-restore
working-directory: sdk/@launchdarkly/observability-dotnet
- name: Lint
run: dotnet format --verify-no-changes
working-directory: sdk/@launchdarkly/observability-dotnet