Skip to content

Commit

Permalink
Add moar badges
Browse files Browse the repository at this point in the history
  • Loading branch information
russcam committed May 2, 2024
1 parent 03bc455 commit 487e915
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/accuracy_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

jobs:
build:
report:

runs-on: ubuntu-latest

Expand All @@ -14,12 +14,8 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test tests/Lingua.AccuracyReport.Tests --no-build --verbosity quiet
run: ./build.sh report
- name: Accuracy Report
run: |
echo "# Lingua Language Accuracy report" >> $GITHUB_STEP_SUMMARY
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: .NET
name: Build

on:
push:
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
![lingua](images/logo.png)

[![NuGet Release][nuget image]][nuget url]
[![Build Status](https://github.com/russcam/lingua-dotnet/actions/workflows/dotnet.yml/badge.svg)](https://github.com/russcam/lingua-dotnet/actions/workflows/dotnet.yml)
[![Accuracy Report](https://github.com/russcam/lingua-dotnet/actions/workflows/accuracy_report.yml/badge.svg)](https://github.com/russcam/lingua-dotnet/actions/workflows/accuracy_report.yml)
[![license badge][license badge]][license url]
[![supported languages][supported languages badge]](#3-which-languages-are-supported)

## 1. What does this library do?
Its task is simple: It tells you which language some provided textual data is written in.
Expand Down Expand Up @@ -128,4 +131,8 @@ Currently, the following 75 languages are supported:
- Z
- Zulu


[nuget url]: https://www.nuget.org/packages/Lingua/
[nuget image]: https://img.shields.io/nuget/v/Lingua.svg
[license badge]: https://img.shields.io/badge/license-Apache%202.0-blue.svg
[license url]: https://www.apache.org/licenses/LICENSE-2.0
[supported languages badge]: https://img.shields.io/badge/supported%20languages-75-green.svg

0 comments on commit 487e915

Please sign in to comment.