Skip to content

Commit 6e5d01c

Browse files
authored
Code analysis fixes (#975)
1 parent 3387d3b commit 6e5d01c

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

.github/workflows/approve-dependencies.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
permissions:
66
pull-requests: write
77
contents: write
8+
defaults:
9+
run:
10+
shell: bash
811
jobs:
912
dependabot:
1013
runs-on: ubuntu-latest

.github/workflows/ci.yml

Lines changed: 7 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: ${{ matrix.name }}
@@ -21,6 +24,10 @@ jobs:
2124
name: Linux
2225
fail-fast: false
2326
steps:
27+
- name: Check for secrets
28+
env:
29+
SECRETS_AVAILABLE: ${{ secrets.SECRETS_AVAILABLE }}
30+
run: exit $(If ($env:SECRETS_AVAILABLE -eq 'true') { 0 } Else { 1 })
2431
- name: Checkout
2532
uses: actions/[email protected]
2633
with:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- '[0-9]+.[0-9]+.[0-9]+-*'
77
env:
88
DOTNET_NOLOGO: true
9+
defaults:
10+
run:
11+
shell: pwsh
912
jobs:
1013
release:
1114
runs-on: windows-2022

src/Query/Particular.ThroughputQuery.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="Azure.Identity" />
9-
<PackageReference Include="Azure.Messaging.ServiceBus" />
10-
<PackageReference Include="Azure.Monitor.Query" />
118
<PackageReference Include="AWSSDK.CloudWatch" />
129
<PackageReference Include="AWSSDK.SecurityToken" />
1310
<PackageReference Include="AWSSDK.SQS" />
14-
<PackageReference Include="Npgsql" />
11+
<PackageReference Include="Azure.Identity" />
12+
<PackageReference Include="Azure.Messaging.ServiceBus" />
13+
<PackageReference Include="Azure.Monitor.Query" />
1514
<PackageReference Include="Microsoft.Data.SqlClient" />
15+
<PackageReference Include="Npgsql" />
1616
<PackageReference Include="System.Threading.RateLimiting" />
1717
</ItemGroup>
1818

0 commit comments

Comments
 (0)