File tree Expand file tree Collapse file tree 5 files changed +34
-25
lines changed
tests/NetDevPack.Brasil.Tests Expand file tree Collapse file tree 5 files changed +34
-25
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ test "" = "$(grep '^Signed-off-by: ' "$1" |
2222 echo >&2 Duplicate Signed-off-by lines.
2323 exit 1
2424}
25- if ! head -1 " $1 " | grep -qE " ^(feat|fix|ci|chore|docs|test|style|refactor|chk)(\(.+?\))?: .{1,}$" ; then
25+ if ! head -1 " $1 " | grep -qE " ^(feat|fix|ci|chore|docs|test|style|refactor|chk)(\(.+?\))?(\!)? : .{1,}$" ; then
2626 echo " Aborting commit. Your commit message is invalid. See some examples below:" >&2
2727 echo " feat(logging): added logs for failed signups" >&2
2828 echo " fix(homepage): fixed image gallery" >&2
Original file line number Diff line number Diff line change @@ -12,13 +12,19 @@ jobs:
1212 runs-on : ubuntu-latest
1313
1414 steps :
15- - name : Checkout repository
16- uses : actions/checkout@v2
15+ - name : Checkout repository
16+ uses : actions/checkout@v3
1717
18- - name : Setup .NET
19- uses : actions/setup-dotnet@v1
20- with :
21- dotnet-version : 5.0.x
18+
19+ - name : Setup .NET 7
20+ uses : actions/setup-dotnet@v3
21+ with :
22+ dotnet-version : 7.0.x
23+
24+ - name : Setup .NET 6
25+ uses : actions/setup-dotnet@v3
26+ with :
27+ dotnet-version : 6.0.x
2228
2329 - name : Restore dependencies
2430 run : dotnet restore
3339 id : semantic
3440 uses : cycjimmy/semantic-release-action@v2
3541 with :
36- semantic_version : 17.4.4
42+ semantic_version : 18.0.1
3743 extra_plugins : |
3844 @semantic-release/changelog
3945 @semantic-release/github
4551 run : dotnet pack -c Release -o out -p:PackageVersion=${{ steps.semantic.outputs.new_release_version }} -p:RepositoryUrl=${{env.CURRENT_REPO_URL}}
4652
4753 - name : Publish the package to nuget.org
48- run : dotnet nuget push ./out/*.nupkg --skip-duplicate --no-symbols true -k ${{ secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json
54+ run : dotnet nuget push ./out/*.nupkg -n -d -k ${{ secrets.NUGET_AUTH_TOKEN}} -s https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99
1010 steps :
11- - uses : actions/checkout@v2
12- - name : Setup .NET
13- uses : actions/setup-dotnet@v1
11+ - name : Checkout repository
12+ uses : actions/checkout@v3
13+
14+ - name : Setup .NET 7
15+ uses : actions/setup-dotnet@v3
16+ with :
17+ dotnet-version : 7.0.x
18+
19+ - name : Setup .NET 6
20+ uses : actions/setup-dotnet@v3
1421 with :
15- dotnet-version : 5 .0.x
22+ dotnet-version : 6 .0.x
1623
1724 - name : Restore dependencies
1825 run : dotnet restore
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >netstandard2.0;net5 .0</TargetFrameworks >
4+ <TargetFrameworks >netstandard2.1;net6.0;net7 .0</TargetFrameworks >
55 <PackageRequireLicenseAcceptance >false</PackageRequireLicenseAcceptance >
66 <Authors >Eduardo Pires</Authors >
77 <Company >desenvolvedor.io</Company >
1818 </PropertyGroup >
1919
2020 <ItemGroup >
21- <PackageReference Include =" NetDevPack" Version =" 5.1 .1" />
21+ <PackageReference Include =" NetDevPack" Version =" 6.0 .1" />
2222 </ItemGroup >
2323
2424 <ItemGroup >
2828 </None >
2929 </ItemGroup >
3030
31- <Target Name =" CopyHook" AfterTargets =" AfterBuild" Condition =" '$(Configuration)' == 'Debug' " >
31+ <Target Name =" CopyHook" AfterTargets =" AfterBuild" Condition =" '$(Configuration)' == 'Debug'" >
3232 <ItemGroup >
3333 <_CustomFiles Include =" ../../.github/hooks/commit-msg" />
3434 </ItemGroup >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFrameworks >net5 .0</TargetFrameworks >
4+ <TargetFrameworks >net7 .0</TargetFrameworks >
55 <IsPackable >false</IsPackable >
66 </PropertyGroup >
77
88 <ItemGroup >
9- <PackageReference Include =" FluentAssertions" Version =" 5.10.3" />
10- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 16.9.4" />
11- <PackageReference Include =" xunit" Version =" 2.4.1" />
12- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3" >
13- <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
14- <PrivateAssets >all</PrivateAssets >
15- </PackageReference >
16- <PackageReference Include =" coverlet.collector" Version =" 3.0.2" >
9+ <PackageReference Include =" FluentAssertions" Version =" 6.8.0" />
10+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.4.0" />
11+ <PackageReference Include =" xunit" Version =" 2.4.2" />
12+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.5" >
1713 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1814 <PrivateAssets >all</PrivateAssets >
1915 </PackageReference >
You can’t perform that action at this time.
0 commit comments