Skip to content

Commit 00584dd

Browse files
committed
Fixes for running on *-latest + pragma for naming
1 parent 675ec16 commit 00584dd

File tree

5 files changed

+18
-2
lines changed

5 files changed

+18
-2
lines changed

.github/workflows/build-containers.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
uses: actions/[email protected]
3636
with:
3737
fetch-depth: 0
38+
- name: Setup .NET SDK
39+
uses: actions/[email protected]
40+
with:
41+
global-json-file: global.json
42+
dotnet-version: 8.0.x
3843
- name: Run MinVer
3944
uses: Particular/[email protected]
4045
- name: Validate build version

.github/workflows/build-db-container.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
uses: actions/[email protected]
2020
with:
2121
fetch-depth: 0
22+
- name: Setup .NET SDK
23+
uses: actions/[email protected]
24+
with:
25+
global-json-file: global.json
26+
dotnet-version: 8.0.x
2227
- name: Run MinVer
2328
uses: Particular/[email protected]
2429
- name: Validate build version

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
creds: ${{ secrets.AZURE_ACI_CREDENTIALS }}
7171
- name: Setup SQL Server
72-
uses: Particular/install-sql-server-action@v1.2.0
72+
uses: Particular/install-sql-server-action@v1.3.0
7373
if: matrix.test-category == 'SqlServer'
7474
with:
7575
connection-string-env-var: ServiceControl_TransportTests_SQL_ConnectionString

.github/workflows/container-integration-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
uses: actions/[email protected]
5454
with:
5555
fetch-depth: 0
56+
- name: Setup .NET SDK
57+
uses: actions/[email protected]
58+
with:
59+
global-json-file: global.json
60+
dotnet-version: 8.0.x
5661
- name: Run MinVer
5762
uses: Particular/[email protected]
5863
- name: Log in to GitHub container registry

src/ServiceControl.Config/Xaml/Native/UnsafeNativeMethods.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
namespace ServiceControl.Config.Xaml.Native
1+
#pragma warning disable IDE1006 // Disable naming convention for lowercase variables in methods due to native code interop
2+
namespace ServiceControl.Config.Xaml.Native
23
{
34
using System;
45
using System.Runtime.InteropServices;

0 commit comments

Comments
 (0)