File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ defaults:
10
10
run :
11
11
working-directory : ./libraries
12
12
13
+ permissions :
14
+ contents : read
15
+
13
16
jobs :
14
17
build :
15
18
runs-on : ubuntu-latest
16
19
17
20
steps :
18
21
- uses : actions/checkout@v3
19
22
- name : Setup .NET 6.0 & 8.0
20
- uses : actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a
23
+ uses : actions/setup-dotnet@4d6c8fcf3c8f7a60068d26b594648e99df24cee3 # 4.0.0
21
24
with :
22
25
dotnet-version : |
23
26
6.0.405
@@ -29,11 +32,12 @@ jobs:
29
32
- name : Test & Code Coverage
30
33
run : dotnet test --collect:"XPlat Code Coverage" --results-directory ./codecov --verbosity normal
31
34
- name : Codecov
32
- uses : codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # 3.1.0
35
+ uses : codecov/codecov-action@5ecb98a3c6b747ed38dc09f787459979aebb39be # 4.3.1
36
+ env :
37
+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
33
38
with :
34
- token : ${{ secrets.CODECOV_TOKEN }}
35
39
flags : unittests
36
- fail_ci_if_error : true
40
+ fail_ci_if_error : false
37
41
name : codecov-lambda-powertools-dotnet
38
42
verbose : true
39
43
directory : ./libraries/codecov
You can’t perform that action at this time.
0 commit comments