diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5455b2e..c075e1c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -7,18 +7,18 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: Setup .NET Core 6.0
- uses: actions/setup-dotnet@v1
+ - uses: actions/checkout@v4
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 6.0.x
+ dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-build --no-restore --verbosity normal -f net6
- - uses: actions/upload-artifact@v1
+ - uses: actions/upload-artifact@v4
with:
name: artifacts
path: ./GettyImages.Api/bin/Release
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 1334dcd..ee441ed 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -38,7 +38,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index d807120..2a3c9bd 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -8,11 +8,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - name: Setup .NET Core 6.0
- uses: actions/setup-dotnet@v1
+ - uses: actions/checkout@v4
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v4
with:
- dotnet-version: 6.0.x
+ dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: 'Get Previous tag'
@@ -26,7 +26,7 @@ jobs:
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-build --no-restore --verbosity normal -f net6
- - uses: actions/upload-artifact@v1
+ - uses: actions/upload-artifact@v4
with:
name: artifacts
path: ./GettyImages.Api/bin/Release
@@ -35,11 +35,11 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-dotnet@v1
+ - uses: actions/checkout@v4
+ - uses: actions/setup-dotnet@v4
with:
- dotnet-version: '6.0.x' # SDK Version to use.
- - uses: actions/download-artifact@v1
+ dotnet-version: 8.0.x
+ - uses: actions/download-artifact@v4
with:
name: artifacts
path: ./artifacts
diff --git a/GettyImages.Api/GettyImages.Api.csproj b/GettyImages.Api/GettyImages.Api.csproj
index eb16f16..eab584c 100644
--- a/GettyImages.Api/GettyImages.Api.csproj
+++ b/GettyImages.Api/GettyImages.Api.csproj
@@ -20,8 +20,8 @@
-
-
+
+
diff --git a/UnitTests/UnitTests.csproj b/UnitTests/UnitTests.csproj
index a16157c..2f23f2d 100644
--- a/UnitTests/UnitTests.csproj
+++ b/UnitTests/UnitTests.csproj
@@ -1,7 +1,7 @@
- net6
+ net8.0
false
@@ -13,10 +13,10 @@
-
-
-
-
+
+
+
+