From b97134b9b4effac6fda00608dc60b1beb1233025 Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Wed, 14 Aug 2024 15:57:50 +0700 Subject: [PATCH] feat: NET 8 --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/dotnet.yml | 6 +++--- .../BervProject.Validation.Common.Test.csproj | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9f0834e..deafa12 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -53,7 +53,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: '6.0.x' + dotnet-version: '8.0.x' include-prerelease: true # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 543db37..fd1767b 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -6,13 +6,13 @@ on: branches: [ main ] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - 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 @@ -35,7 +35,7 @@ jobs: PROJECT_FILE_PATH: BervProject.Validation.Common/BervProject.Validation.Common.csproj NUGET_KEY: ${{ secrets.NUGET_API_KEY }} docs: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 if: ${{ github.event_name == 'push' }} needs: build steps: diff --git a/BervProject.Validation.Common.Test/BervProject.Validation.Common.Test.csproj b/BervProject.Validation.Common.Test/BervProject.Validation.Common.Test.csproj index e8a5ff5..9cfc991 100644 --- a/BervProject.Validation.Common.Test/BervProject.Validation.Common.Test.csproj +++ b/BervProject.Validation.Common.Test/BervProject.Validation.Common.Test.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 false