File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,16 @@ updates:
17
17
all :
18
18
patterns :
19
19
- " *"
20
+
21
+ - package-ecosystem : " github-actions"
22
+ directory : " /"
23
+ schedule :
24
+ interval : " monthly"
25
+ time : " 09:00"
26
+ timezone : " Europe/Oslo"
27
+ commit-message :
28
+ prefix : " ci:"
29
+ groups :
30
+ all :
31
+ patterns :
32
+ - " *"
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ jobs:
18
18
- name : Setup dotnet
19
19
uses : actions/setup-dotnet@v4
20
20
with :
21
- dotnet-version : ' 9.0.x'
21
+ dotnet-version : " 9.0.x"
22
22
- name : Install dependencies
23
23
run : dotnet restore
24
24
- name : Build
25
- run : dotnet build
25
+ run : dotnet build --no-restore
26
26
- name : Test with the dotnet CLI
27
27
run : dotnet test --logger "junit;LogFileName=coverage.trx" --no-restore --results-directory "output/test-results" /property:CollectCoverage=True /property:CoverletOutputFormat=opencover /property:CoverletOutput=/output/test-results/coverage.cobertura.xml --collect:"XPlat Code Coverage"
28
28
- name : Save artifacts from tests
29
- uses : actions/upload-artifact@v3
29
+ uses : actions/upload-artifact@v4
30
30
with :
31
31
name : test-results
32
32
path : output/test-results
36
36
token : ${{ secrets.CODECOV_TOKEN }}
37
37
fail_ci_if_error : true
38
38
files : output/test-results/**/*.xml
39
- verbose : true
39
+ verbose : true
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Publish
3
3
on :
4
4
push :
5
5
tags :
6
- - ' * '
6
+ - " * "
7
7
8
8
jobs :
9
9
ubuntu-latest :
16
16
- name : Setup dotnet
17
17
uses : actions/setup-dotnet@v4
18
18
with :
19
- dotnet-version : ' 9.0.x'
19
+ dotnet-version : " 9.0.x"
20
20
- name : Install dependencies
21
21
run : dotnet restore
22
22
- name : Build
26
26
- name : Push
27
27
run : dotnet nuget push output/*.nupkg --source https://api.nuget.org/v3/index.json --api-key $NUGET_AUTH_TOKEN --skip-duplicate
28
28
env :
29
- NUGET_AUTH_TOKEN : ${{ secrets.NUGET_API_KEY }}
29
+ NUGET_AUTH_TOKEN : ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments