Skip to content

Commit e362aa4

Browse files
Merge pull request #81 from IowaComputerGurus/feature/build
Updated Build & Dependencies
2 parents 07d8786 + 2d9c3b0 commit e362aa4

File tree

6 files changed

+38
-22
lines changed

6 files changed

+38
-22
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: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@ jobs:
2424
dotnet-version: 9.0.x
2525

2626
- name: Install GitVersion
27-
uses: gittools/actions/gitversion/setup@v3.2.1
27+
uses: gittools/actions/gitversion/setup@v4.2.0
2828
with:
29-
versionSpec: '6.0.5'
29+
versionSpec: '6.4.0'
3030

3131
- name: Determine Version
3232
id: gitversion
33-
uses: gittools/actions/gitversion/[email protected]
34-
with:
35-
useConfigFile: true
33+
uses: gittools/actions/gitversion/[email protected]
3634

3735
- name: Restore Packages
3836
run: dotnet restore "${{ env.solution-path }}"
@@ -81,24 +79,22 @@ jobs:
8179
dotnet tool update dotnet-sonarscanner --tool-path .\.sonar\scanner
8280
8381
- name: Install GitVersion
84-
uses: gittools/actions/gitversion/setup@v3.2.1
82+
uses: gittools/actions/gitversion/setup@v4.2.0
8583
with:
86-
versionSpec: '6.0.5'
84+
versionSpec: '6.4.0'
8785

8886
- name: Determine Version
8987
id: gitversion
90-
uses: gittools/actions/gitversion/[email protected]
91-
with:
92-
useConfigFile: true
88+
uses: gittools/actions/gitversion/[email protected]
9389

9490
- name: Build and analyze
9591
env:
9692
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
9793
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
9894
shell: powershell
9995
run: |
100-
.\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities.cloudstorage" /o:"iowacomputergurus-github" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
96+
.\.sonar\scanner\dotnet-sonarscanner begin /k:"IowaComputerGurus_aspnetcore.utilities.cloudstorage" /o:"iowacomputergurus-github" /d:sonar.login="${{ env.SONAR_TOKEN }}"
10197
dotnet restore "${{ env.solution-path }}"
10298
dotnet build "${{ env.solution-path }}" --no-restore --configuration Release -p:version=${{ steps.gitversion.outputs.majorMinorPatch }}
10399
dotnet test "${{ env.solution-path }}" --no-build --configuration Release --collect "XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover --logger "trx;LogFileName=unittests.trx"
104-
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
100+
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ env.SONAR_TOKEN }}"

.github/workflows/release-build.yml

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

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

3030
- name: Determine Version
3131
id: gitversion
32-
uses: gittools/actions/gitversion/[email protected]
33-
with:
34-
useConfigFile: true
32+
uses: gittools/actions/gitversion/[email protected]
3533

3634
- name: Restore Packages
3735
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.CloudStorage.Tests/AspNetCore.Utilities.CloudStorage.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>
22-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
22+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
2323
<PackageReference Include="Moq" Version="4.20.72" />
2424
<PackageReference Include="xunit" Version="2.9.3" />
25-
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.1">
25+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5">
2626
<PrivateAssets>all</PrivateAssets>
2727
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2828
</PackageReference>

src/AspNetCore.Utilities.CloudStorage/AspNetCore.Utilities.CloudStorage.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
</PropertyGroup>
3838

3939
<ItemGroup>
40-
<PackageReference Include="Azure.Storage.Blobs" Version="12.24.1" />
41-
<PackageReference Include="ICG.NetCore.Utilities" Version="6.2.0" />
40+
<PackageReference Include="Azure.Storage.Blobs" Version="12.26.0" />
41+
<PackageReference Include="ICG.NetCore.Utilities" Version="9.0.0" />
4242
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="9.0.6" />
4343
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0">
4444
<PrivateAssets>all</PrivateAssets>

0 commit comments

Comments
 (0)