-
Notifications
You must be signed in to change notification settings - Fork 0
Add central project configuration and update package references (#45) #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5872f60
Enhance GitHub workflows for code generation and auto-merge (#43)
ptr727 3a5faeb
Add central project configuration and update package references (#45)
ptr727 9241b78
Merge remote-tracking branch 'origin/main' into develop
ptr727 8d9e87c
Update build tasks to use property syntax for output paths (#47)
ptr727 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 24 additions & 23 deletions
47
.github/workflows/run-periodic-codegen-app-pull-request.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,24 @@ | ||
| name: Run weekly CodeGen App and Pull Request action | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| # Run weekly on Thursdays at 02:00 UTC (PAT workflow runs on Mondays) | ||
| - cron: '0 2 * * THU' | ||
|
|
||
| concurrency: | ||
| group: codegen-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
|
|
||
| run-codegen-app: | ||
| name: Run codegen app and pull request job | ||
| uses: ./.github/workflows/run-codegen-app-pull-request-task.yml | ||
| secrets: | ||
| CODEGEN_APP_ID: ${{ secrets.CODEGEN_APP_ID }} | ||
| CODEGEN_APP_PRIVATE_KEY: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
| name: Run weekly CodeGen App and Pull Request action | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| schedule: | ||
| # Run weekly on Thursdays at 02:00 UTC (PAT workflow runs on Mondays) | ||
| - cron: '0 2 * * THU' | ||
|
|
||
| concurrency: | ||
| # Workflow always checks out and targets main/codegen | ||
| group: codegen-main | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
|
|
||
| run-codegen-app: | ||
| name: Run codegen app and pull request job | ||
| uses: ./.github/workflows/run-codegen-app-pull-request-task.yml | ||
| secrets: | ||
| CODEGEN_APP_ID: ${{ secrets.CODEGEN_APP_ID }} | ||
| CODEGEN_APP_PRIVATE_KEY: ${{ secrets.CODEGEN_APP_PRIVATE_KEY }} | ||
| permissions: | ||
| contents: write | ||
| pull-requests: write |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,51 +1,51 @@ | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "Console Root", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".Net Build", | ||
| "program": "${workspaceFolder}/Console/bin/Debug/net10.0/Console.dll", | ||
| "args": [ | ||
| "--loglevel=Debug", | ||
| "--logfile=console.log", | ||
| "--logfile-clear=true" | ||
| ], | ||
| "cwd": "${workspaceFolder}/Console/bin/Debug/net10.0", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| }, | ||
| { | ||
| "name": "Console Test", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".Net Build", | ||
| "program": "${workspaceFolder}/Console/bin/Debug/net10.0/Console.dll", | ||
| "args": [ | ||
| "--loglevel=Debug", | ||
| "--logfile=console.log", | ||
| "--logfile-clear=true", | ||
| "test", | ||
| "--test=test" | ||
| ], | ||
| "cwd": "${workspaceFolder}/Console/bin/Debug/net10.0", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| }, | ||
| { | ||
| "name": "CodeGen", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".Net Build", | ||
| "program": "${workspaceFolder}/CodeGen/bin/Debug/net10.0/CodeGen.dll", | ||
| "args": [ | ||
| "--codepath", | ||
| "${workspaceFolder}/CodeGen" | ||
| ], | ||
| "cwd": "${workspaceFolder}/CodeGen/bin/Debug/net10.0", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| } | ||
| ] | ||
| } | ||
| { | ||
| "version": "0.2.0", | ||
| "configurations": [ | ||
| { | ||
| "name": "Console Root", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".Net Build", | ||
| "program": "${workspaceFolder}/.artifacts/bin/Console/Debug/Console.dll", | ||
| "args": [ | ||
| "--loglevel=Debug", | ||
| "--logfile=console.log", | ||
| "--logfile-clear=true" | ||
| ], | ||
| "cwd": "${workspaceFolder}/.artifacts/bin/Console/Debug", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| }, | ||
| { | ||
| "name": "Console Test", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".Net Build", | ||
| "program": "${workspaceFolder}/.artifacts/bin/Console/Debug/Console.dll", | ||
| "args": [ | ||
| "--loglevel=Debug", | ||
| "--logfile=console.log", | ||
| "--logfile-clear=true", | ||
| "test", | ||
| "--test=test" | ||
| ], | ||
| "cwd": "${workspaceFolder}/.artifacts/bin/Console/Debug", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| }, | ||
| { | ||
| "name": "CodeGen", | ||
| "type": "coreclr", | ||
| "request": "launch", | ||
| "preLaunchTask": ".Net Build", | ||
| "program": "${workspaceFolder}/.artifacts/bin/CodeGen/Debug/CodeGen.dll", | ||
| "args": [ | ||
| "--codepath", | ||
| "${workspaceFolder}/CodeGen" | ||
| ], | ||
| "cwd": "${workspaceFolder}/.artifacts/bin/CodeGen/Debug", | ||
| "console": "internalConsole", | ||
| "stopAtEntry": false | ||
| } | ||
| ] | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| global using System; | ||
| global using BenchmarkDotNet.Attributes; | ||
| global using BenchmarkDotNet.Running; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,3 @@ | ||
| global using System; | ||
| global using System.Collections.Frozen; | ||
| global using System.Globalization; | ||
| global using System.IO; | ||
| global using System.Linq; | ||
| global using System.Net.Http; | ||
| global using System.Threading; | ||
| global using System.Threading.Tasks; | ||
| global using Serilog; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,5 @@ | ||
| global using System; | ||
| global using System.Collections.Frozen; | ||
| global using System.Globalization; | ||
| global using System.IO; | ||
| global using System.Linq; | ||
| global using System.Threading; | ||
| global using System.Threading.Tasks; | ||
| global using Microsoft.Extensions.Logging; | ||
| global using Serilog; | ||
| global using Serilog.Events; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| <Project> | ||
| <PropertyGroup> | ||
| <TargetFramework>net10.0</TargetFramework> | ||
| <ImplicitUsings>enable</ImplicitUsings> | ||
| <Nullable>enable</Nullable> | ||
| <AnalysisLevel>latest-all</AnalysisLevel> | ||
| <AnalysisMode>All</AnalysisMode> | ||
| <EnableNETAnalyzers>true</EnableNETAnalyzers> | ||
| <TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
| <ArtifactsPath>$(MSBuildThisFileDirectory).artifacts</ArtifactsPath> | ||
| <IsPackable>false</IsPackable> | ||
| <ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
| </PropertyGroup> | ||
| </Project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <Project> | ||
| <ItemGroup> | ||
| <PackageVersion Include="AwesomeAssertions" Version="9.4.0" /> | ||
| <PackageVersion Include="BenchmarkDotNet" Version="0.15.8" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Http.Resilience" Version="10.4.0" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="10.0.5" /> | ||
| <PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.3.0" /> | ||
| <PackageVersion Include="Microsoft.SourceLink.GitHub" Version="10.0.201" /> | ||
| <PackageVersion Include="Serilog" Version="4.3.1" /> | ||
| <PackageVersion Include="Serilog.Enrichers.Thread" Version="4.0.0" /> | ||
| <PackageVersion Include="Serilog.Extensions.Logging" Version="10.0.0" /> | ||
| <PackageVersion Include="Serilog.Sinks.Console" Version="6.1.1" /> | ||
| <PackageVersion Include="Serilog.Sinks.File" Version="7.0.0" /> | ||
| <PackageVersion Include="System.CommandLine" Version="2.0.5" /> | ||
| <PackageVersion Include="xunit.analyzers" Version="1.27.0" /> | ||
| <PackageVersion Include="xunit.runner.visualstudio" Version="3.1.5" /> | ||
| <PackageVersion Include="xunit.v3" Version="3.2.2" /> | ||
| </ItemGroup> | ||
| </Project> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.