Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
workflow_dispatch:
env:
DOTNET_NOLOGO: true
defaults:
run:
shell: pwsh
jobs:
build:
name: Windows
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Code Analysis
on:
push:
branches:
- main
- master
- release-*
pull_request:
workflow_dispatch:
jobs:
code-analysis:
uses: particular/shared-workflows/.github/workflows/code-analysis.yml@main
16 changes: 3 additions & 13 deletions .github/workflows/nuget-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ on:
env:
DOTNET_NOLOGO: true
jobs:
build:
name: Linux
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup .NET SDK
uses: actions/[email protected]
with:
global-json-file: global.json
- name: Restore
id: restore
run: dotnet restore src
call-shared-nuget-audit:
uses: particular/shared-workflows/.github/workflows/nuget-audit.yml@main
secrets: inherit
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
workflow_dispatch:
env:
DOTNET_NOLOGO: true
defaults:
run:
shell: pwsh
jobs:
windows-standalone:
if: ${{ github.actor != 'dependabot[bot]' }}
Expand All @@ -19,7 +22,6 @@ jobs:
- name: Check for secrets
env:
SECRETS_AVAILABLE: ${{ secrets.SECRETS_AVAILABLE }}
shell: pwsh
run: exit $(If ($env:SECRETS_AVAILABLE -eq 'true') { 0 } Else { 1 })
- name: Checkout
uses: actions/[email protected]
Expand Down Expand Up @@ -75,7 +77,6 @@ jobs:
nugets/*
retention-days: 1
- name: Verify release artifact counts
shell: pwsh
run: |
$assetsCount = (Get-ChildItem -Recurse -File assets).Count
$nugetsCount = (Get-ChildItem -Recurse -File nugets).Count
Expand Down
3 changes: 0 additions & 3 deletions src/ServicePulse.Host/Properties/AssemblyInfo.cs

This file was deleted.

4 changes: 4 additions & 0 deletions src/ServicePulse.Host/ServicePulse.Host.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@
<Content Include="app\js\app.constants.js" CopyToOutputDirectory="PreserveNewest" Condition="Exists('app\js\app.constants.js')" />
</ItemGroup>

<ItemGroup>
<InternalsVisibleTo Include="ServicePulse.Host.Tests" />
</ItemGroup>

</Project>