Skip to content

Commit b3aa289

Browse files
committed
Fix code analysis issues
1 parent 97b8f05 commit b3aa289

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
workflow_dispatch:
99
env:
1010
DOTNET_NOLOGO: true
11+
defaults:
12+
run:
13+
shell: pwsh
1114
jobs:
1215
build:
1316
name: Windows

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
workflow_dispatch:
1212
env:
1313
DOTNET_NOLOGO: true
14+
defaults:
15+
run:
16+
shell: pwsh
1417
jobs:
1518
windows-standalone:
1619
if: ${{ github.actor != 'dependabot[bot]' }}
@@ -19,7 +22,6 @@ jobs:
1922
- name: Check for secrets
2023
env:
2124
SECRETS_AVAILABLE: ${{ secrets.SECRETS_AVAILABLE }}
22-
shell: pwsh
2325
run: exit $(If ($env:SECRETS_AVAILABLE -eq 'true') { 0 } Else { 1 })
2426
- name: Checkout
2527
uses: actions/[email protected]
@@ -75,7 +77,6 @@ jobs:
7577
nugets/*
7678
retention-days: 1
7779
- name: Verify release artifact counts
78-
shell: pwsh
7980
run: |
8081
$assetsCount = (Get-ChildItem -Recurse -File assets).Count
8182
$nugetsCount = (Get-ChildItem -Recurse -File nugets).Count

src/ServicePulse.Host/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/ServicePulse.Host/ServicePulse.Host.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@
2828
<Content Include="app\js\app.constants.js" CopyToOutputDirectory="PreserveNewest" Condition="Exists('app\js\app.constants.js')" />
2929
</ItemGroup>
3030

31+
<ItemGroup>
32+
<InternalsVisibleTo Include="ServicePulse.Host.Tests" />
33+
</ItemGroup>
34+
3135
</Project>

0 commit comments

Comments
 (0)