Skip to content

Commit 0cc0c69

Browse files
committed
apply updates from template
1 parent 3cd4022 commit 0cc0c69

12 files changed

+62
-22
lines changed

.github/dependabot.yml

Lines changed: 45 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,54 @@ version: 2
77
updates:
88
- package-ecosystem: "github-actions"
99
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
day: "wednesday"
13+
time: "03:10"
14+
timezone: "Asia/Tokyo"
1015
groups:
11-
github-actions-workflows:
16+
GitHub-Actions-Workflows:
1217
patterns:
1318
- "actions/*"
14-
smdn-fundamentals-workflows:
19+
Smdn-Fundamentals-Workflows:
1520
patterns:
1621
- "smdn/Smdn.Fundamentals/*"
22+
ignore:
23+
- dependency-name: "actions/checkout"
24+
update-types:
25+
- "version-update:semver-minor"
26+
- "version-update:semver-patch"
27+
- package-ecosystem: "nuget"
28+
directory: "/"
1729
schedule:
18-
interval: "weekly"
19-
day: "wednesday"
20-
time: "03:10"
21-
timezone: "Asia/Tokyo"
30+
interval: "monthly"
31+
groups:
32+
Smdn-MSBuild-ProjectAssets:
33+
patterns:
34+
- "Smdn.MSBuild.ProjectAssets.Common"
35+
- "Smdn.MSBuild.ProjectAssets.Library"
36+
NUnit:
37+
patterns:
38+
- "NUnit*"
39+
ignore:
40+
# For "Smdn.*", only major updates should be reported.
41+
- dependency-name: "Smdn.*"
42+
update-types:
43+
- "version-update:semver-minor"
44+
- "version-update:semver-patch"
45+
# For NUnit packages, only major updates should be reported.
46+
- dependency-name: "NUnit*"
47+
update-types: # major updates only
48+
- "version-update:semver-minor"
49+
- "version-update:semver-patch"
50+
# For Microsoft's extension packages, manually update them, so ignore all of them.
51+
- dependency-name: "Microsoft.Extensions.*"
52+
update-types: # ignore all updates
53+
- "version-update:semver-major"
54+
- "version-update:semver-minor"
55+
- "version-update:semver-patch"
56+
# For other packages, only major updates should be reported.
57+
- dependency-name: "*"
58+
update-types: # major updates only
59+
- "version-update:semver-minor"
60+
- "version-update:semver-patch"

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555

5656
steps:
5757
- name: Checkout repository
58-
uses: actions/checkout@v6.0.0
58+
uses: actions/checkout@v6.0.1
5959

6060
- name: Initialize CodeQL
6161
uses: github/codeql-action/init@v4

.github/workflows/generate-release-target.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
exit 1
6262
6363
run-generate-release-target:
64-
uses: smdn/Smdn.Fundamentals/.github/workflows/generate-release-target.yml@workflows/release-target/v1.11.0
64+
uses: smdn/Smdn.Fundamentals/.github/workflows/generate-release-target.yml@workflows/release-target/v1.12.2
6565
needs: determine-release-target
6666
if: startsWith(needs.determine-release-target.outputs.tag_name, 'new-release/')
6767
with:

.github/workflows/publish-release-target.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
run-publish-release-target:
18-
uses: smdn/Smdn.Fundamentals/.github/workflows/publish-release-target.yml@workflows/release-target/v1.11.0
18+
uses: smdn/Smdn.Fundamentals/.github/workflows/publish-release-target.yml@workflows/release-target/v1.12.2
1919
if: |
2020
(github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/')) &&
2121
(contains(github.event.pull_request.labels.*.name, 'release-target'))

.github/workflows/test-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
run-test:
5858
name: Run tests with released packages
59-
uses: smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test/v1.5.0
59+
uses: smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test/v1.6.0
6060
needs: await-package-publishing
6161
if: ${{ always() && !failure() && !cancelled() }} # run tests even if await-package-publishing is skipped
6262
with:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ on:
6767
jobs:
6868
run-test:
6969
name: Run tests
70-
uses: smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test/v1.5.0
70+
uses: smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test/v1.6.0
7171
with:
7272
project: ${{ inputs.project }}
7373
os: ${{ inputs.os == '' && 'ubuntu-24.04, ubuntu-22.04, windows-latest, macos-latest' || inputs.os }}

.vscode/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"MSBuild",
2020
"smdn",
2121
"SYSLIB",
22+
"trimmable",
2223
],
2324
"ignoreWords": [
2425
"APIList",

global.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
22
"msbuild-sdks": {
3-
"Smdn.MSBuild.ProjectAssets.Common": "1.6.1",
4-
"Smdn.MSBuild.ProjectAssets.Library": "1.10.0"
3+
"Smdn.MSBuild.ProjectAssets.Common": "1.6.2",
4+
"Smdn.MSBuild.ProjectAssets.Library": "1.12.2"
5+
},
6+
"test": {
7+
"runner": "Microsoft.Testing.Platform"
58
}
69
}

src/Directory.Build.props

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ SPDX-FileCopyrightText: 2021 smdn <smdn@smdn.jp>
33
SPDX-License-Identifier: MIT
44
-->
55
<Project>
6-
<Import Project="Sdk.props" Sdk="Smdn.MSBuild.ProjectAssets.Common" />
76
<Import Project="Sdk.props" Sdk="Smdn.MSBuild.ProjectAssets.Library" />
87

98
<PropertyGroup Label="Configurations for Smdn.MSBuild.ProjectAssets.*">
@@ -25,7 +24,7 @@ SPDX-License-Identifier: MIT
2524
<ItemGroup>
2625
<PackageReference
2726
Include="Smdn.MSBuild.DefineConstants.NETSdkApi"
28-
Version="[1.5.1]"
27+
Version="[1.6.0]"
2928
PrivateAssets="all"
3029
IncludeAssets="build"
3130
/>

src/Directory.Build.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ SPDX-FileCopyrightText: 2021 smdn <smdn@smdn.jp>
33
SPDX-License-Identifier: MIT
44
-->
55
<Project>
6-
<Import Project="Sdk.targets" Sdk="Smdn.MSBuild.ProjectAssets.Common" />
76
<Import Project="Sdk.targets" Sdk="Smdn.MSBuild.ProjectAssets.Library" />
87
</Project>

0 commit comments

Comments
 (0)