diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 02e3946a..8908a50e 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,23 +8,26 @@ on:
workflow_dispatch:
env:
DOTNET_NOLOGO: true
+defaults:
+ run:
+ shell: pwsh
jobs:
build:
name: Windows
runs-on: windows-2019
steps:
- name: Checkout
- uses: actions/checkout@v3.2.0
+ uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: Setup .NET SDK
- uses: actions/setup-dotnet@v3.0.3
+ uses: actions/setup-dotnet@v4.0.0
with:
- dotnet-version: 6.0.x
+ dotnet-version: 8.0.x
- name: Build
run: dotnet build src --configuration Release
- name: Upload packages
- uses: actions/upload-artifact@v3.1.1
+ uses: actions/upload-artifact@v4.3.1
with:
name: NuGet packages
path: nugets/
@@ -35,4 +38,4 @@ jobs:
connection-string-env-var: SQLServerConnectionString
catalog: nservicebus
- name: Run tests
- uses: Particular/run-tests-action@v1.4.0
+ uses: Particular/run-tests-action@v1.7.0
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 356f974f..a7bddffa 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -6,18 +6,21 @@ on:
- '[0-9]+.[0-9]+.[0-9]+-*'
env:
DOTNET_NOLOGO: true
+defaults:
+ run:
+ shell: pwsh
jobs:
release:
runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v3.2.0
+ uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- name: Setup .NET SDK
- uses: actions/setup-dotnet@v3.0.3
+ uses: actions/setup-dotnet@v4.0.0
with:
- dotnet-version: 6.0.x
+ dotnet-version: 8.0.x
- name: Build
run: dotnet build src --configuration Release
- name: Sign NuGet packages
@@ -28,12 +31,13 @@ jobs:
client-secret: ${{ secrets.AZURE_KEY_VAULT_CLIENT_SECRET }}
certificate-name: ${{ secrets.AZURE_KEY_VAULT_CERTIFICATE_NAME }}
- name: Publish artifacts
- uses: actions/upload-artifact@v3.1.1
+ uses: actions/upload-artifact@v4.3.1
with:
name: nugets
path: nugets/*
retention-days: 1
- name: Deploy
- uses: Particular/push-octopus-package-action@v1.0.0
+ # Does not follow standard practice of targeting explicit versions because configuration is tightly coupled to Octopus Deploy configuration
+ uses: Particular/push-octopus-package-action@main
with:
octopus-deploy-api-key: ${{ secrets.OCTOPUS_DEPLOY_API_KEY }}
\ No newline at end of file
diff --git a/src/NServiceBus.Transport.Msmq.AcceptanceTests/NServiceBus.Transport.Msmq.AcceptanceTests.csproj b/src/NServiceBus.Transport.Msmq.AcceptanceTests/NServiceBus.Transport.Msmq.AcceptanceTests.csproj
index 1d04cd5f..5a23e8c7 100644
--- a/src/NServiceBus.Transport.Msmq.AcceptanceTests/NServiceBus.Transport.Msmq.AcceptanceTests.csproj
+++ b/src/NServiceBus.Transport.Msmq.AcceptanceTests/NServiceBus.Transport.Msmq.AcceptanceTests.csproj
@@ -16,11 +16,11 @@
-
-
+
+
-
-
+
+
diff --git a/src/NServiceBus.Transport.Msmq.Tests/NServiceBus.Transport.Msmq.Tests.csproj b/src/NServiceBus.Transport.Msmq.Tests/NServiceBus.Transport.Msmq.Tests.csproj
index 9b1c8302..adad7a60 100644
--- a/src/NServiceBus.Transport.Msmq.Tests/NServiceBus.Transport.Msmq.Tests.csproj
+++ b/src/NServiceBus.Transport.Msmq.Tests/NServiceBus.Transport.Msmq.Tests.csproj
@@ -15,12 +15,12 @@
-
-
+
+
-
-
+
+
diff --git a/src/NServiceBus.Transport.Msmq.TransportTests/NServiceBus.Transport.Msmq.TransportTests.csproj b/src/NServiceBus.Transport.Msmq.TransportTests/NServiceBus.Transport.Msmq.TransportTests.csproj
index fbfa21f9..3871f2e2 100644
--- a/src/NServiceBus.Transport.Msmq.TransportTests/NServiceBus.Transport.Msmq.TransportTests.csproj
+++ b/src/NServiceBus.Transport.Msmq.TransportTests/NServiceBus.Transport.Msmq.TransportTests.csproj
@@ -15,11 +15,11 @@
-
-
+
+
-
-
+
+