Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 654e943

Browse files
authoredJan 5, 2024
Release/1.0.0 (#284)
+semver: major * Update license approvals Signed-off-by: Victor Chang <vicchang@nvidia.com> * Throw any error from MinIO with ListObject APIs (#214) * Throw any error from MinIO when listing objects * Capture ListObjectsAsync exceptions in VerifyObjectExistsAsync * Configure minio client timeout * Throw VerifyObjectsException on error * Convert MinIO exception with custom exceptions * Update API doc * Upgrade to .NET 8 (#281) * Upgrade to .NET 8 Signed-off-by: Victor Chang <vicchang@nvidia.com>
1 parent 32d7dc0 commit 654e943

29 files changed

+1746
-4353
lines changed
 

‎.github/workflows/ci.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- uses: actions/setup-dotnet@v3
4242
with:
43-
dotnet-version: "6.0.x"
43+
dotnet-version: "8.0.x"
4444

4545
- name: Enable NuGet cache
4646
uses: actions/cache@v3.3.0
@@ -63,6 +63,9 @@ jobs:
6363
run: dotnet build -c ${{ env.BUILD_CONFIG }} --nologo ${{ env.SOLUTION }}
6464
working-directory: ./src
6565

66+
- name: Perform CodeQL Analysis
67+
uses: github/codeql-action/analyze@v2
68+
6669
analyze:
6770
runs-on: ubuntu-latest
6871
permissions:
@@ -81,7 +84,7 @@ jobs:
8184
fetch-depth: 0
8285
- uses: actions/setup-dotnet@v3
8386
with:
84-
dotnet-version: "6.0.x"
87+
dotnet-version: "8.0.x"
8588

8689
- name: Enable Homebrew
8790
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
@@ -123,11 +126,11 @@ jobs:
123126
uses: actions/setup-java@v3
124127
with:
125128
distribution: 'zulu'
126-
java-version: '11'
129+
java-version: '17'
127130

128131
- uses: actions/setup-dotnet@v3
129132
with:
130-
dotnet-version: "6.0.x"
133+
dotnet-version: "8.0.x"
131134

132135
- name: Enable NuGet cache
133136
uses: actions/cache@v3.3.0
@@ -168,7 +171,7 @@ jobs:
168171
working-directory: ./src/Plugins/MinIO/Tests
169172

170173
- name: Test
171-
run: find ~+ -type f -name "*.Test.csproj" | xargs -L1 dotnet test -c ${{ env.BUILD_CONFIG }} -v=minimal -r "${{ env.TEST_RESULTS }}" --collect:"XPlat Code Coverage" --settings coverlet.runsettings
174+
run: find ~+ -type f -name "*.Tests.csproj" | xargs -L1 dotnet test -c ${{ env.BUILD_CONFIG }} -v=minimal --results-directory "${{ env.TEST_RESULTS }}" --collect:"XPlat Code Coverage" --settings coverlet.runsettings
172175
working-directory: ./src
173176

174177
- name: End SonarScanner
@@ -188,7 +191,7 @@ jobs:
188191
- uses: codecov/codecov-action@v3.1.1
189192
with:
190193
token: ${{ secrets.CODECOV_TOKEN }}
191-
directory: "src/${{ env.TEST_RESULTS }}"
194+
directory: "src/"
192195
files: "**/coverage.opencover.xml"
193196
flags: unittests
194197
name: codecov-umbrella
@@ -220,7 +223,7 @@ jobs:
220223

221224
- uses: actions/setup-dotnet@v3
222225
with:
223-
dotnet-version: "6.0.x"
226+
dotnet-version: "8.0.x"
224227

225228
- name: Enable NuGet cache
226229
uses: actions/cache@v3.3.0
@@ -308,7 +311,7 @@ jobs:
308311
env:
309312
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
310313
with:
311-
dotnet-version: "6.0.x"
314+
dotnet-version: "8.0.x"
312315
source-url: https://nuget.pkg.github.com/Project-MONAI/index.json
313316

314317
- name: Publish to GitHub
@@ -333,7 +336,7 @@ jobs:
333336
env:
334337
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
335338
with:
336-
dotnet-version: "6.0.x"
339+
dotnet-version: "8.0.x"
337340
source-url: https://nuget.pkg.github.com/Project-MONAI/index.json
338341

339342
- name: Publish to GitHub
@@ -401,4 +404,4 @@ jobs:
401404
token: ${{ secrets.GITHUB_TOKEN }}
402405
owner: ${{ steps.repo.outputs._0 }}
403406
repository: ${{ steps.repo.outputs._1 }}
404-
milestone: ${{ env.MAJORMINORPATCH }}
407+
milestone: ${{ env.MAJORMINORPATCH }}

0 commit comments

Comments
 (0)
Please sign in to comment.