diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 4571ee6..76cc3d9 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -4,6 +4,9 @@ on: push: branches: - main + pull_request: + branches: + - main workflow_dispatch: jobs: @@ -20,17 +23,14 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v2 with: - dotnet-version: '6.0.x' # Adjust the version as needed + dotnet-version: '8.0.x' # Adjust the version as needed - name: Restore dependencies - run: dotnet restore src - - - name: Run tests - run: dotnet test --no-build --verbosity normal + run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - + - name: Publish run: dotnet publish --configuration Release --output ./publish --no-build diff --git a/.github/workflows/dotnet-tests.yml b/.github/workflows/dotnet-tests.yml index 02ade40..7f283aa 100644 --- a/.github/workflows/dotnet-tests.yml +++ b/.github/workflows/dotnet-tests.yml @@ -1,4 +1,4 @@ -name: .NET Core +name: .NET Core Tests on: pull_request: @@ -20,7 +20,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v2 with: - dotnet-version: '6.0.x' # Adjust the version as needed + dotnet-version: '8.0.x' # Adjust the version as needed - name: Restore dependencies run: dotnet restore diff --git a/src/Build5Nines.SharpVector/Build5Nines.SharpVector.csproj b/src/Build5Nines.SharpVector/Build5Nines.SharpVector.csproj index 700c182..f8a9efa 100644 --- a/src/Build5Nines.SharpVector/Build5Nines.SharpVector.csproj +++ b/src/Build5Nines.SharpVector/Build5Nines.SharpVector.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable true @@ -9,9 +9,9 @@ Build5Nines.SharpVector https://github.com/Build5Nines/SharpVector https://github.com/Build5Nines/SharpVector - 1.0.0 + 1.0.1 Lightweight In-memory Vector Database to embed in any .NET Applications - Copyright (c) 2024 Build5Nines LLC + Copyright (c) 2025 Build5Nines LLC README.md https://github.com/Build5Nines/SharpVector/blob/main/LICENSE Chris Pietschmann diff --git a/src/ConsoleTest/ConsoleTest.csproj b/src/ConsoleTest/ConsoleTest.csproj index ab9aadf..9c2c0e1 100644 --- a/src/ConsoleTest/ConsoleTest.csproj +++ b/src/ConsoleTest/ConsoleTest.csproj @@ -6,7 +6,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/src/SharpVectorTest/SharpVectorTest.csproj b/src/SharpVectorTest/SharpVectorTest.csproj index edaa66b..1f0d1b2 100644 --- a/src/SharpVectorTest/SharpVectorTest.csproj +++ b/src/SharpVectorTest/SharpVectorTest.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 enable enable @@ -10,10 +10,13 @@ - - - - + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + + + +