Skip to content

Commit 861ddf4

Browse files
committed
apply updates from template
1 parent bf7b246 commit 861ddf4

9 files changed

Lines changed: 26 additions & 19 deletions

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ updates:
1818
GitHub-Actions-Workflows:
1919
patterns:
2020
- "actions/*"
21+
GitHub-CodeQL-Action:
22+
patterns:
23+
- "github/codeql-action/*"
2124
smdn-workflows-dotnet:
2225
patterns:
2326
- "smdn/workflows-dotnet/*"
@@ -31,6 +34,10 @@ updates:
3134
update-types:
3235
- "version-update:semver-minor"
3336
- "version-update:semver-patch"
37+
# github/codeql-action/*: report major and minor updates only
38+
- dependency-name: "github/codeql-action/*"
39+
update-types:
40+
- "version-update:semver-patch"
3441
- package-ecosystem: "nuget"
3542
directory: "/"
3643
schedule:

.github/workflows/codeql-analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ jobs:
5555

5656
steps:
5757
- name: Checkout repository
58-
uses: actions/[email protected].1
58+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5959

6060
- name: Initialize CodeQL
61-
uses: github/codeql-action/init@v4
61+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
6262
with:
6363
languages: ${{ matrix.language }}
6464
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -69,10 +69,10 @@ jobs:
6969

7070
- name: Autobuild
7171
if: ${{ (matrix.build-mode == 'autobuild') || (matrix.build-mode == '') }}
72-
uses: github/codeql-action/autobuild@v4
72+
uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
7373

7474
- name: Prepare .NET SDK ${{ env.MINIMAL_DOTNET_SDK_VERSION }}
75-
uses: smdn/workflows-dotnet/actions/prepare-dotnet-sdk@actions/prepare-dotnet-sdk/v1.1.0
75+
uses: smdn/workflows-dotnet/actions/prepare-dotnet-sdk@e294de483afffc1d3a366fbba853efe23c7b7d4c # actions/prepare-dotnet-sdk/v1.2.0
7676
if: ${{ (matrix.build-mode == 'manual') && (matrix.language == 'csharp') }}
7777
with:
7878
minimal_dotnet_sdk_version: '${{ env.MINIMAL_DOTNET_SDK_VERSION }}'
@@ -83,4 +83,4 @@ jobs:
8383
./eng/BuildAllProjects.ps1
8484
8585
- name: Perform CodeQL Analysis
86-
uses: github/codeql-action/analyze@v4
86+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1

.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/workflows-dotnet/.github/workflows/generate-release-target.yml@release-target/v1.14.1
64+
uses: smdn/workflows-dotnet/.github/workflows/generate-release-target.yml@17112594cdc2a6dd9bf2417fe103174ded21863f # release-target/v1.16.1
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/workflows-dotnet/.github/workflows/publish-release-target.yml@release-target/v1.14.1
18+
uses: smdn/workflows-dotnet/.github/workflows/publish-release-target.yml@17112594cdc2a6dd9bf2417fe103174ded21863f # release-target/v1.16.1
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ jobs:
5656
await-package-publishing:
5757
name: Wait for publishing of released package
5858
if: ${{ github.event_name == 'release' }}
59-
uses: smdn/workflows-dotnet/.github/workflows/nuget-await-package-publishing.yml@nuget/v1.1.1
59+
uses: smdn/workflows-dotnet/.github/workflows/nuget-await-package-publishing.yml@35043858ed6e4363e999b82c4182cf5c4b2a2ca4 # nuget/v1.2.1
6060
with:
6161
release_tag: ${{ github.event.release.tag_name }}
6262

6363
run-test:
6464
name: Run tests with released packages
65-
uses: smdn/workflows-dotnet/.github/workflows/test.yml@test/v1.9.0
65+
uses: smdn/workflows-dotnet/.github/workflows/test.yml@bad79296a13ba75d915c7c1935cd9679958d217d # test/v1.9.2
6666
needs: await-package-publishing
6767
if: ${{ always() && !failure() && !cancelled() }} # run tests even if await-package-publishing is skipped
6868
with:
6969
project: ${{ inputs.project }}
7070
os: ${{ inputs.os == '' && 'ubuntu-24.04, ubuntu-22.04, windows-latest, macos-latest' || inputs.os }}
7171
extra_options_common: '/p:TestReleasedPackage=true'
72-
verbose: ${{ inputs.verbose == 'true' }}
72+
verbose: ${{ inputs.verbose == true }}
7373
dotnet_sdk_version: ${{ inputs.dotnet_sdk_version == '' && '10.0.100' || inputs.dotnet_sdk_version }}
7474
timeout_minutes_test_job: 10
7575
timeout_hang: "[ {'OS':'windows','Timeout':'6min'}, {'OS':'macos','Timeout':'3min'}, {'OS':'','Timeout':'1min'} ]"

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ on:
7373
jobs:
7474
run-test:
7575
name: Run tests
76-
uses: smdn/workflows-dotnet/.github/workflows/test.yml@test/v1.9.0
76+
uses: smdn/workflows-dotnet/.github/workflows/test.yml@bad79296a13ba75d915c7c1935cd9679958d217d # test/v1.9.2
7777
with:
7878
project: ${{ inputs.project }}
7979
os: ${{ inputs.os == '' && 'ubuntu-24.04, ubuntu-22.04, windows-latest, macos-latest' || inputs.os }}
80-
verbose: ${{ inputs.verbose == 'true' }}
80+
verbose: ${{ inputs.verbose == true }}
8181
dotnet_sdk_version: ${{ inputs.dotnet_sdk_version == '' && '10.0.100' || inputs.dotnet_sdk_version }}
8282
timeout_minutes_test_job: 10
8383
timeout_hang: "[ {'OS':'windows','Timeout':'6min'}, {'OS':'macos','Timeout':'3min'}, {'OS':'','Timeout':'1min'} ]"

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"allowPrerelease": false
66
},
77
"msbuild-sdks": {
8-
"Smdn.MSBuild.ProjectAssets.Common": "1.6.2",
9-
"Smdn.MSBuild.ProjectAssets.Library": "1.12.5"
8+
"Smdn.MSBuild.ProjectAssets.Common": "1.7.1",
9+
"Smdn.MSBuild.ProjectAssets.Library": "1.14.0"
1010
},
1111
"test": {
1212
"runner": "Microsoft.Testing.Platform"

src/Directory.Build.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SPDX-License-Identifier: MIT
88
<PropertyGroup Label="Configurations for Smdn.MSBuild.ProjectAssets.*">
99
<SmdnBuildAssetRootDirectory>$(MSBuildThisFileDirectory)..\</SmdnBuildAssetRootDirectory>
1010
<APIListOutputBaseDirectory>$(MSBuildThisFileDirectory)..\doc\api-list\</APIListOutputBaseDirectory>
11-
<!-- <APIListPackageVersion>1.6.0</APIListPackageVersion> -->
11+
<APIListMinPackageVersion>1.8.1</APIListMinPackageVersion>
1212
</PropertyGroup>
1313

1414
<PropertyGroup Label="package properties">
@@ -24,7 +24,7 @@ SPDX-License-Identifier: MIT
2424
<ItemGroup>
2525
<PackageReference
2626
Include="Smdn.MSBuild.DefineConstants.NETSdkApi"
27-
Version="[1.6.2]"
27+
Version="[1.8.2]"
2828
PrivateAssets="all"
2929
IncludeAssets="build"
3030
/>

tests/Directory.Build.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ SPDX-License-Identifier: MIT
1111
/>
1212

1313
<ItemGroup Condition=" '$(IsTestProject)' == 'true' ">
14-
<PackageReference Include="NUnit" Version="4.4.0" />
15-
<PackageReference Include="NUnit3TestAdapter" Version="6.0.0" />
14+
<PackageReference Include="NUnit" Version="4.5.1" />
15+
<PackageReference Include="NUnit3TestAdapter" Version="6.1.0" />
1616
</ItemGroup>
1717

1818
<ItemGroup>
1919
<PackageReference
2020
Include="Smdn.MSBuild.DefineConstants.NETSdkApi"
21-
Version="[1.6.2]"
21+
Version="[1.8.2]"
2222
PrivateAssets="all"
2323
IncludeAssets="build"
2424
/>

0 commit comments

Comments
 (0)