Skip to content

Commit 7593aaa

Browse files
committed
Update NuGet package versions and target framework
This commit updates the versions of several NuGet packages in the PCAxis.Menu.UnitTest.csproj and PCAxis.Menu.csproj files. The updates include: - Microsoft.NET.Test.Sdk: updated from 17.6.2 to 17.9.0 - MSTest.TestAdapter and MSTest.TestFramework: updated from 3.0.4 to 3.3.1 - coverlet.collector: updated from 6.0.0 to 6.0.2 In addition, the target framework of the PCAxis.Menu.UnitTest.csproj file has been upgraded from .NET Core 3.0 to .NET 8.0. These changes aim to improve the functionality and performance of the software. References to the code changes can be found in the respective .csproj files.
1 parent 12c7d8f commit 7593aaa

3 files changed

Lines changed: 57 additions & 4 deletions

File tree

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "nuget"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "daily"

.github/workflows/msbuild.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: BuildAndRunTests
4+
5+
on:
6+
push:
7+
branches: ["master"]
8+
pull_request:
9+
branches: ["master"]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
jobs:
15+
build:
16+
strategy:
17+
matrix:
18+
configuration: [Debug, Release]
19+
os: [windows-latest, ubuntu-latest]
20+
21+
runs-on: ${{ matrix.os }}
22+
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- name: Setup .NET
27+
uses: actions/setup-dotnet@v4
28+
with:
29+
dotnet-version: 8.0.x
30+
31+
- name: Restore dependencies
32+
run: dotnet restore
33+
34+
- name: Build the application
35+
run: dotnet build --no-restore --configuration ${{ matrix.configuration }}
36+
37+
- name: Execute unit tests
38+
run: dotnet test --verbosity normal

.github/workflows/nuget.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@ on:
77
jobs:
88
release:
99

10-
runs-on: windows-2019
10+
runs-on: windows-2022
1111

1212
steps:
1313

14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
with:
1616
fetch-depth: 0
1717

18-
- uses: microsoft/setup-msbuild@v1
18+
- uses: microsoft/setup-msbuild@v2
1919

20-
- uses: NuGet/setup-nuget@v1
20+
- uses: NuGet/setup-nuget@v2
2121

2222
- name: Restore NuGet packages
2323
run: nuget restore

0 commit comments

Comments
 (0)