diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 217f7cb..8af425e 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -1,6 +1,3 @@ -# This workflow will build a .NET project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net - name: .NET on: @@ -11,18 +8,28 @@ on: jobs: build: - runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + + - name: Install fonts + run: | + sudo apt-get update + sudo apt-get install -y fontconfig + sudo apt-get install -y fonts-liberation + sudo fc-cache -f -v + - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 7.0.x + - name: Restore dependencies - run: dotnet restore + run: dotnet restore UnitTest/UnitTest.csproj + - name: Build - run: dotnet build --no-restore + run: dotnet build UnitTest/UnitTest.csproj --no-restore + - name: Test - run: dotnet test --no-build --verbosity normal + run: dotnet test UnitTest/UnitTest.csproj --no-build --verbosity normal diff --git a/LICENSE b/LICENSE index 42831e3..89e8e6c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Andrew +Copyright (c) 2025 Geckon01 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index a523274..de3ed80 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # Watermark.Net -![NuGet Version](https://img.shields.io/nuget/v/Watermark.Net?style=for-the-badge) -![NuGet Downloads](https://img.shields.io/nuget/dt/Watermark.Net?style=for-the-badge&link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FWatermark.Net%2F) -![Lecense](https://img.shields.io/badge/license-MIT-green?style=for-the-badge) -![GitHub last commit](https://img.shields.io/github/last-commit/Geckon01/Watermark.Net?display_timestamp=author&style=for-the-badge) +![NuGet Version](https://img.shields.io/nuget/v/Watermark.Net) +![NuGet Downloads](https://img.shields.io/nuget/dt/Watermark.Net?link=https%3A%2F%2Fwww.nuget.org%2Fpackages%2FWatermark.Net%2F) +![Lecense](https://img.shields.io/badge/license-MIT-green) +![GitHub last commit](https://img.shields.io/github/last-commit/Geckon01/Watermark.Net?display_timestamp=author) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/e6340e249ad743bc99c1745aaa0a9838)](https://app.codacy.com/gh/Geckon01/Watermark.Net/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) Watermark.Net is open source .NET library for adding text and image watermarks to images. Built on SixLabors.ImageSharp, it provides a simple yet comprehensive API for all your watermarking needs.