Skip to content

Commit e441aff

Browse files
authored
Mege patch/0.3.3
+semver: patch
1 parent 442df4c commit e441aff

15 files changed

+4369
-4362
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ jobs:
4848
- uses: actions/setup-dotnet@v3
4949
with:
5050
dotnet-version: "6.0.x"
51-
51+
5252
- name: Install GitVersion
5353
run: dotnet tool install --global GitVersion.Tool
5454

5555
- name: Determine Version
5656
id: gitversion
57-
uses: gittools/actions/gitversion/execute@v0.9.13
57+
uses: gittools/actions/gitversion/execute@v0.9.14
5858
with:
5959
useConfigFile: true
6060
configFilePath: .github/.gitversion.yml
@@ -82,15 +82,15 @@ jobs:
8282

8383
- name: Enable Homebrew
8484
run: echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
85-
85+
8686
- name: Install License Finder tool with Homebrew
8787
uses: tecoli-com/actions-use-homebrew-tools@v0.4
8888
with:
8989
tools: licensefinder
9090
cache: yes
9191

9292
- name: Enable NuGet cache
93-
uses: actions/cache@v3.0.10
93+
uses: actions/cache@v3.0.11
9494
with:
9595
path: ~/.nuget/packages
9696
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -125,7 +125,7 @@ jobs:
125125

126126
- name: Secret detection
127127
uses: gitleaks/gitleaks-action@v1.6.0
128-
128+
129129
- name: Perform License Scanning
130130
run: license_finder -r
131131

@@ -146,7 +146,7 @@ jobs:
146146
dotnet-version: "6.0.x"
147147

148148
- name: Enable NuGet cache
149-
uses: actions/cache@v3.0.10
149+
uses: actions/cache@v3.0.11
150150
with:
151151
path: ~/.nuget/packages
152152
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -156,34 +156,34 @@ jobs:
156156
- uses: actions/checkout@v3
157157
with:
158158
fetch-depth: 0
159-
159+
160160
- name: Install SonarCloud scanner
161161
if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'
162162
run: dotnet tool install --global dotnet-sonarscanner
163163

164164
- name: Restore dependencies
165165
run: dotnet restore
166166
working-directory: ./src
167-
167+
168168
- name: Begin SonarScanner
169169
env:
170170
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
171171
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
172172
run: dotnet sonarscanner begin /k:"Project-MONAI_monai-deploy-informatics-gateway" /o:"project-monai" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="${{ env.TEST_RESULTS }}/**/*.xml"
173173
working-directory: ./src
174-
174+
175175
- name: Build
176176
env:
177177
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
178178
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
179179
run: dotnet build -c ${{ env.BUILD_CONFIG }} --nologo "${{ env.SOLUTION }}"
180180
working-directory: ./src
181-
181+
182182
- name: Test
183183
env:
184184
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
185185
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
186-
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
186+
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
187187
working-directory: ./src
188188

189189
- name: End SonarScanner
@@ -192,7 +192,7 @@ jobs:
192192
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
193193
run: dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
194194
working-directory: ./src
195-
195+
196196
- uses: codecov/codecov-action@v3
197197
with:
198198
token: ${{ secrets.CODECOV_TOKEN }}
@@ -224,7 +224,7 @@ jobs:
224224
dotnet-version: "6.0.x"
225225

226226
- name: Enable NuGet cache
227-
uses: actions/cache@v3.0.10
227+
uses: actions/cache@v3.0.11
228228
with:
229229
path: ~/.nuget/packages
230230
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -246,7 +246,7 @@ jobs:
246246
popd
247247
248248
- name: Upload Integration Test Results
249-
uses: actions/upload-artifact@v3.1.0
249+
uses: actions/upload-artifact@v3.1.1
250250
if: always()
251251
with:
252252
name: integration-${{ matrix.feature }}
@@ -289,7 +289,7 @@ jobs:
289289
dotnet-version: "6.0.x"
290290

291291
- name: Enable NuGet cache
292-
uses: actions/cache@v3.0.10
292+
uses: actions/cache@v3.0.11
293293
with:
294294
path: ~/.nuget/packages
295295
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -325,14 +325,14 @@ jobs:
325325
dir -r ~/release
326326
327327
- name: Upload CLI
328-
uses: actions/upload-artifact@v3.1.0
328+
uses: actions/upload-artifact@v3.1.1
329329
with:
330330
name: artifacts
331331
path: ~/release
332332
retention-days: 7
333333

334334
- name: Log in to the Container registry
335-
uses: docker/login-action@v2.0.0
335+
uses: docker/login-action@v2.1.0
336336
if: ${{ (matrix.os == 'ubuntu-latest') }}
337337
with:
338338
registry: ${{ env.REGISTRY }}
@@ -341,7 +341,7 @@ jobs:
341341

342342
- name: Extract metadata (tags, labels) for Docker
343343
id: meta
344-
uses: docker/metadata-action@v4.0.1
344+
uses: docker/metadata-action@v4.1.1
345345
if: ${{ (matrix.os == 'ubuntu-latest') }}
346346
with:
347347
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
@@ -350,7 +350,7 @@ jobs:
350350
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
351351
352352
- name: Build and push Docker image
353-
uses: docker/build-push-action@v3.1.1
353+
uses: docker/build-push-action@v3.2.0
354354
if: ${{ (matrix.os == 'ubuntu-latest') }}
355355
with:
356356
context: .
@@ -402,7 +402,7 @@ jobs:
402402
dotnet-version: "6.0.x"
403403

404404
- name: Enable NuGet cache
405-
uses: actions/cache@v3.0.10
405+
uses: actions/cache@v3.0.11
406406
with:
407407
path: ~/.nuget/packages
408408
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
@@ -436,10 +436,10 @@ jobs:
436436
run: |
437437
mkdir ~\release
438438
Compress-Archive -Path docs\_site\* -DestinationPath ~\release\mig-docs-${{ env.SEMVER }}.zip
439-
Get-ChildItem ~\release -Recurse
439+
Get-ChildItem ~\release -Recurse
440440
441441
- name: Upload docs
442-
uses: actions/upload-artifact@v3.1.0
442+
uses: actions/upload-artifact@v3.1.1
443443
with:
444444
name: artifacts
445445
path: ~/release
@@ -473,12 +473,12 @@ jobs:
473473
msg: ${{ github.repository }}
474474

475475
- name: Install GitReleaseManager
476-
uses: gittools/actions/gitreleasemanager/setup@v0.9.13
476+
uses: gittools/actions/gitreleasemanager/setup@v0.9.14
477477
with:
478478
versionSpec: "0.13.x"
479479

480480
- name: Create release with GitReleaseManager
481-
uses: gittools/actions/gitreleasemanager/create@v0.9.13
481+
uses: gittools/actions/gitreleasemanager/create@v0.9.14
482482
with:
483483
token: ${{ secrets.GITHUB_TOKEN }}
484484
owner: ${{ steps.repo.outputs._0 }}
@@ -491,7 +491,7 @@ jobs:
491491
artifacts/mig-docs-${{ env.SEMVER }}.zip
492492
493493
- name: Publish release with GitReleaseManager
494-
uses: gittools/actions/gitreleasemanager/publish@v0.9.13
494+
uses: gittools/actions/gitreleasemanager/publish@v0.9.14
495495
if: ${{ contains(github.ref, 'refs/heads/main') }}
496496
with:
497497
token: ${{ secrets.GITHUB_TOKEN }}
@@ -500,7 +500,7 @@ jobs:
500500
tagName: ${{ env.MAJORMINORPATCH }}
501501

502502
- name: Close release with GitReleaseManager
503-
uses: gittools/actions/gitreleasemanager/close@v0.9.13
503+
uses: gittools/actions/gitreleasemanager/close@v0.9.14
504504
if: ${{ contains(github.ref, 'refs/heads/main') }}
505505
with:
506506
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)