Skip to content

Commit 9617e90

Browse files
committed
ci: add GitHub Actions updates to dependabot configuration
1 parent 9365bd8 commit 9617e90

File tree

3 files changed

+20
-7
lines changed

3 files changed

+20
-7
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,16 @@ updates:
1717
all:
1818
patterns:
1919
- "*"
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+
- "*"

.github/workflows/Build_and_Test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
- name: Setup dotnet
1919
uses: actions/setup-dotnet@v4
2020
with:
21-
dotnet-version: '9.0.x'
21+
dotnet-version: "9.0.x"
2222
- name: Install dependencies
2323
run: dotnet restore
2424
- name: Build
25-
run: dotnet build
25+
run: dotnet build --no-restore
2626
- name: Test with the dotnet CLI
2727
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"
2828
- name: Save artifacts from tests
29-
uses: actions/upload-artifact@v3
29+
uses: actions/upload-artifact@v4
3030
with:
3131
name: test-results
3232
path: output/test-results
@@ -36,4 +36,4 @@ jobs:
3636
token: ${{ secrets.CODECOV_TOKEN }}
3737
fail_ci_if_error: true
3838
files: output/test-results/**/*.xml
39-
verbose: true
39+
verbose: true

.github/workflows/Publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
ubuntu-latest:
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup dotnet
1717
uses: actions/setup-dotnet@v4
1818
with:
19-
dotnet-version: '9.0.x'
19+
dotnet-version: "9.0.x"
2020
- name: Install dependencies
2121
run: dotnet restore
2222
- name: Build
@@ -26,4 +26,4 @@ jobs:
2626
- name: Push
2727
run: dotnet nuget push output/*.nupkg --source https://api.nuget.org/v3/index.json --api-key $NUGET_AUTH_TOKEN --skip-duplicate
2828
env:
29-
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}
29+
NUGET_AUTH_TOKEN: ${{ secrets.NUGET_API_KEY }}

0 commit comments

Comments
 (0)