Template for a NuGet solution/project.
Note
After cloning, remember to init the submodules. See https://github.com/teqbench/teqbench.dev for more information.
Update all following instances of TeqBench.Dev.Templates.DotNet.NuGet
:
- Solution name
- TeqBench.Dev.Templates.DotNet.NuGet.sln
- Project names
- TeqBench.Dev.Templates.DotNet.NuGet.csproj
- TeqBench.Dev.Templates.DotNet.NuGet.Tests.csproj
- RootNamespace in TeqBench.Dev.Templates.DotNet.NuGet.csproj
- AssemblyName in TeqBench.Dev.Templates.DotNet.NuGet.csproj
Also have to update repository's settings.
- Add branch protect for the
main
branch.- Navigate to
Settings > Branches
. - Select
Add rule
. - Select
Require a pull request before merging
.- Select
Require approvals
. - Select
Allow specified actors to bypass required pull requests
.- Add user
devops-teqbench
.
- Add user
- Select
- Select
Require status checks to pass before merging
.Require branches to be up to date before merging
.- Add the status check `` after running manual build one time from repo Actions.
- Select
Require conversation resolution before merging
. - Leave all other settings as default values.
- Select
Save
.
- Navigate to
- Update Actions configuration.
- Navigate to
Settings > Actions > General
. - Select
Allow teqbench, and select non-teqbench, actions and reusable workflows
- Select
Allow actions created by GitHub
.
- Select
- Select
Save
. - Leave all other settings as default values.
- Navigate to