Skip to content

Commit dd40e91

Browse files
Merge pull request #65 from IowaComputerGurus/feature/build
Updated build
2 parents 72362a7 + 0966a1c commit dd40e91

File tree

5 files changed

+36
-18
lines changed

5 files changed

+36
-18
lines changed

.github/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- question
5+
- wontfix
6+
- invalid
7+
categories:
8+
- title: Exciting New Features 🎉
9+
labels:
10+
- enhancement
11+
- feature
12+
- title: Squashed Bugs 🐛
13+
labels:
14+
- bug
15+
- breaking-change
16+
- title: Administrative
17+
labels:
18+
- administrative
19+
- documentation
20+
- dependencies
21+
- title: Other Changes
22+
labels:
23+
- "*"

.github/workflows/ci-build.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@ jobs:
3131
dotnet-version: 9.0.x
3232

3333
- name: Install GitVersion
34-
uses: gittools/actions/gitversion/setup@v3.1.11
34+
uses: gittools/actions/gitversion/setup@v4.2.0
3535
with:
36-
versionSpec: '6.0.5'
37-
36+
versionSpec: '6.4.0'
37+
3838
- name: Determine Version
3939
id: gitversion
40-
uses: gittools/actions/gitversion/execute@v3.1.11
41-
with:
42-
useConfigFile: true
40+
uses: gittools/actions/gitversion/execute@v4.2.0
4341

4442
- name: Cache SonarQube Cloud packages
4543
uses: actions/cache@v4
@@ -67,8 +65,8 @@ jobs:
6765
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6866
shell: powershell
6967
run: |
70-
.\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities.bootstrap5taghelpers" /o:"iowacomputergurus-github" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /n:"Asp.NET Core Bootstrap 5 Tag Helpers"
68+
.\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities.bootstrap5taghelpers" /o:"iowacomputergurus-github" /d:sonar.token="${{ env.SONAR_TOKEN }}" /n:"Asp.NET Core Bootstrap 5 Tag Helpers"
7169
dotnet restore "${{ env.solution-path }}"
7270
dotnet build "${{ env.solution-path }}" --no-restore --configuration Release -p:version=${{ steps.gitversion.outputs.majorMinorPatch }}
7371
dotnet test "${{ env.solution-path }}" --no-build --configuration Release --collect "XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover --logger "trx;LogFileName=unittests.trx"
74-
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
72+
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ env.SONAR_TOKEN }}"

.github/workflows/release-build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@ jobs:
2525
dotnet-version: 9.0.x
2626

2727
- name: Install GitVersion
28-
uses: gittools/actions/gitversion/setup@v3.1.11
28+
uses: gittools/actions/gitversion/setup@v4.2.0
2929
with:
30-
versionSpec: '6.0.5'
30+
versionSpec: '6.4.0'
3131

3232
- name: Determine Version
3333
id: gitversion
34-
uses: gittools/actions/gitversion/execute@v3.1.11
35-
with:
36-
useConfigFile: true
34+
uses: gittools/actions/gitversion/execute@v4.2.0
3735

3836
- name: Restore Packages
3937
run: dotnet restore "${{ env.solution-path }}"

GitVersion.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ branches:
1717
pull-request:
1818
regex: (pull|pull\-requests|pr)[/-]
1919
label: 'pr'
20-
label-number-pattern: '[/-](?<number>\d+)[-/]'
2120
increment: Patch
2221
is-release-branch: false
2322
source-branches: []

src/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests/AspNetCore.Utilities.Bootstrap5TagHelpers.Tests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Coverlet.collector" Version="6.0.2">
12+
<PackageReference Include="Coverlet.collector" Version="6.0.4">
1313
<PrivateAssets>all</PrivateAssets>
1414
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1515
</PackageReference>
16-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
16+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
1717
<PackageReference Include="Moq" Version="4.20.72" />
1818
<PackageReference Include="Verify.AngleSharp" Version="3.7.0" />
1919
<PackageReference Include="Verify.Xunit" Version="17.2.1" />
20-
<PackageReference Include="xunit" Version="2.9.1" />
21-
<PackageReference Include="xunit.runner.visualstudio" Version="2.8.2">
20+
<PackageReference Include="xunit" Version="2.9.3" />
21+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2222
<PrivateAssets>all</PrivateAssets>
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
</PackageReference>

0 commit comments

Comments
 (0)