Skip to content

Commit 6044ca3

Browse files
authored
Update package versions and workflow configuration (#105)
- Bump husky version to 0.9.1 in dotnet-tools.json - Require WORKFLOW_PAT secret in run-codegen-pull-request-task.yml - Add .Net Outdated Upgrade task in tasks.json - Update Microsoft.Extensions.Logging.Abstractions and Microsoft.SourceLink.GitHub versions in LanguageTags.csproj - Update Microsoft.Extensions.Http.Resilience, Microsoft.Extensions.Logging.Abstractions, and System.CommandLine versions in LanguageTagsCreate.csproj
1 parent e40c175 commit 6044ca3

File tree

5 files changed

+27
-7
lines changed

5 files changed

+27
-7
lines changed

.config/dotnet-tools.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"rollForward": false
1111
},
1212
"husky": {
13-
"version": "0.8.0",
13+
"version": "0.9.1",
1414
"commands": [
1515
"husky"
1616
],

.github/workflows/run-codegen-pull-request-task.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Run codegen and pull request task
22

33
on:
44
workflow_call:
5+
secrets:
6+
WORKFLOW_PAT:
7+
required: true
58

69
jobs:
710

@@ -34,6 +37,7 @@ jobs:
3437
- name: Create pull request step
3538
uses: peter-evans/create-pull-request@v8
3639
with:
40+
token: ${{ secrets.WORKFLOW_PAT }}
3741
branch: codegen
3842
title: 'Update codegen files'
3943
body: 'This PR updates the codegen files.'

.vscode/tasks.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,21 @@
9393
"clear": false
9494
}
9595
},
96+
{
97+
"label": ".Net Outdated Upgrade",
98+
"type": "process",
99+
"command": "dotnet",
100+
"args": [
101+
"outdated",
102+
"--upgrade:Prompt"
103+
],
104+
"problemMatcher": [
105+
"$msCompile"
106+
],
107+
"presentation": {
108+
"showReuseMessage": false,
109+
"clear": false
110+
}
111+
}
96112
]
97113
}

LanguageTags/LanguageTags.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@
3131
<Version>1.0.0.0</Version>
3232
</PropertyGroup>
3333
<ItemGroup>
34-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.3" />
34+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.5" />
3535
<PackageReference
3636
Include="Microsoft.SourceLink.GitHub"
37-
Version="10.0.103"
37+
Version="10.0.201"
3838
PrivateAssets="all"
3939
/>
4040
</ItemGroup>

LanguageTagsCreate/LanguageTagsCreate.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
<ProjectReference Include="..\LanguageTags\LanguageTags.csproj" />
2121
</ItemGroup>
2222
<ItemGroup>
23-
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="10.3.0" />
23+
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="10.4.0" />
2424
<PackageReference
2525
Include="Microsoft.SourceLink.GitHub"
26-
Version="10.0.103"
26+
Version="10.0.201"
2727
PrivateAssets="all"
2828
/>
29-
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.3" />
29+
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.5" />
3030
<PackageReference Include="Serilog.Enrichers.Thread" Version="4.0.0" />
3131
<PackageReference Include="Serilog.Extensions.Logging" Version="10.0.0" />
3232
<PackageReference Include="Serilog.Sinks.Console" Version="6.1.1" />
3333
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
3434
<PackageReference Include="Serilog" Version="4.3.1" />
35-
<PackageReference Include="System.CommandLine" Version="2.0.3" />
35+
<PackageReference Include="System.CommandLine" Version="2.0.5" />
3636
</ItemGroup>
3737
</Project>

0 commit comments

Comments
 (0)