feat(metadata): add Lambda Metadata utility for retrieving execution environment metadata #1709
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build .NET | |
| on: | |
| push: | |
| paths: | |
| - "libraries/**" | |
| branches: [develop] | |
| pull_request: | |
| paths: | |
| - "libraries/**" | |
| branches: [develop] | |
| permissions: {} | |
| defaults: | |
| run: | |
| working-directory: ./libraries | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup .NET SDK | |
| uses: actions/setup-dotnet@baa11fbfe1d6520db94683bd5c7a3818018e4309 # 5.1.0 | |
| with: | |
| dotnet-version: | | |
| 8.0.x | |
| 10.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 | |
| - name: Codecov | |
| uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # 5.5.2 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: false | |
| name: codecov-lambda-powertools-dotnet | |
| verbose: true | |
| directory: ./libraries/codecov |