Skip to content

chore: Add custom instrumentation sample project #62

chore: Add custom instrumentation sample project

chore: Add custom instrumentation sample project #62

Workflow file for this run

name: Build .NET Agent Samples Solution
on:
workflow_dispatch:
pull_request:
branches:
- main
# only allow one instance of this workflow to be running per PR or branch, cancels any that are already running
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
disable-sudo: true
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup .NET 9 Preview
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
with:
dotnet-version: '9.0.x'
dotnet-quality: 'preview'
- name: Build
run: |
dotnet build