Skip to content

chore: Feature/bedrock agent function resolver #1420

chore: Feature/bedrock agent function resolver

chore: Feature/bedrock agent function resolver #1420

Workflow file for this run

name: Build .NET
on:
push:
paths:
- "libraries/**"
branches: [develop]
pull_request:
paths:
- "libraries/**"
branches: [develop]
defaults:
run:
working-directory: ./libraries
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup .NET SDK
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # 4.3.1
with:
dotnet-version: |
6.0.x
8.0.x
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore /tl
- name: Test & Code Coverage
run: dotnet test --no-restore --filter "Category!=E2E" --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal
- name: Codecov
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # 5.4.3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
name: codecov-lambda-powertools-dotnet
verbose: true
directory: ./libraries/codecov