Skip to content

Commit bbe2d08

Browse files
authored
Update net9 (#72)
* feat: Enhance database preparation scripts for PostgreSQL - Added error handling in prepare-database.cmd to check for the presence of the 'psql' command. - Introduced a new Bash script (prepare-database.sh) that provides similar functionality with improved usage instructions and error handling. - Both scripts now support creating and erasing the sample database with clear user prompts. * feat: Add contributing guidelines, security policy, and update README for PostgreSQL caching library - Introduced a new CONTRIBUTING.md file outlining contribution standards and development setup. - Added SECURITY.md to detail security policies, reporting vulnerabilities, and best practices. - Enhanced README.md with a comprehensive introduction, installation instructions, and usage examples. - Updated project to target .NET 6, 8, and 9, and bumped version to 5.0.0. - Improved error handling in DatabaseExpiredItemsRemoverLoop and added logging for better diagnostics. - Updated sample projects to reflect changes in dependencies and configurations. * chore: Remove outdated badges from README.md - Removed Build Status and Code Quality badges from the README.md file to streamline the documentation. - This change reflects a shift in focus towards more relevant information for users. * build: Update .NET Core version to 9.0.x and actions/upload-artifact to v4 in CI workflow - Bumped the .NET Core version from 8.0.x to 9.0.x in the GitHub Actions workflow. - Updated the upload-artifact action from v1 to v4 for improved functionality and performance.
1 parent 75da08d commit bbe2d08

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Diff for: .github/workflows/dotnet-core.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
uses: actions/setup-dotnet@v1
1515
with:
1616
dotnet-version: |
17-
8.0.x
17+
9.0.x
1818
1919
- name: Install dependencies
2020
run: dotnet restore
2121
- name: Packing Nuget
2222
run: dotnet pack --configuration Release --no-restore /p:Version=${{ github.event.release.tag_name }} /p:PackageReleaseNotes="See https://github.com/leonibr/community-extensions-cache-postgres/releases/tag/${{ github.event.release.tag_name }}"
2323
working-directory: ./Extensions.Caching.PostgreSql/
2424
- name: Archive NuGet Package
25-
uses: actions/upload-artifact@v1
25+
uses: actions/upload-artifact@v4
2626
with:
2727
name: Extensions.Caching.PostgreSql
2828
path: ./Extensions.Caching.PostgreSql/bin/Release/Community.Microsoft.Extensions.Caching.PostgreSql.${{ github.event.release.tag_name }}.nupkg

Diff for: README.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# PostgreSQL Distributed Cache for .NET Core | Community Edition
22

33
[![Nuget](https://img.shields.io/nuget/v/Community.Microsoft.Extensions.Caching.PostgreSql)](https://www.nuget.org/packages/Community.Microsoft.Extensions.Caching.PostgreSql)
4-
[![Build Status](https://img.shields.io/github/actions/workflow/status/leonibr/community-extensions-cache-postgres/dotnet.yml?branch=main)](https://github.com/leonibr/community-extensions-cache-postgres/actions/workflows/dotnet.yml)
5-
[![Code Quality](https://img.shields.io/codefactor/grade/github/leonibr/community-extensions-cache-postgres)](https://www.codefactor.io/repository/github/leonibr/community-extensions-cache-postgres)
64

75
## Introduction
86

0 commit comments

Comments
 (0)