Skip to content

Commit

Permalink
Merge pull request #584 from aws-powertools/hjgraca-build-pipeline
Browse files Browse the repository at this point in the history
chore: Update build pipeline
  • Loading branch information
hjgraca authored May 9, 2024
2 parents 18df0fd + 5f2078d commit 5bc87a0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,17 @@ defaults:
run:
working-directory: ./libraries

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Setup .NET 6.0 & 8.0
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
uses: actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # 4.0.0
with:
dotnet-version: |
6.0.405
Expand All @@ -29,11 +32,12 @@ jobs:
- name: Test & Code Coverage
run: dotnet test --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal
- name: Codecov
uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # 3.1.0
uses: codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # 4.3.1
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: unittests
fail_ci_if_error: true
fail_ci_if_error: false
name: codecov-lambda-powertools-dotnet
verbose: true
directory: ./libraries/codecov

0 comments on commit 5bc87a0

Please sign in to comment.