From 4433e96f1cb5ccc1125ef87649fd94d5534f5b8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1o=20Belica?= Date: Sun, 11 Feb 2024 14:53:44 +0100 Subject: [PATCH 1/2] Allow to pass language with any-case letters --- sumy/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sumy/utils.py b/sumy/utils.py index 5eb8e32..b767122 100644 --- a/sumy/utils.py +++ b/sumy/utils.py @@ -29,7 +29,7 @@ def normalize_language(language): except KeyError: pass - return language + return language.lower() def fetch_url(url, timeout=(3.05, 30)): From 17115553f0f2ea33c997814fd57e253243d6945d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1o=20Belica?= Date: Sun, 11 Feb 2024 15:00:00 +0100 Subject: [PATCH 2/2] Update ossar-analysis.yml --- .github/workflows/ossar-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ossar-analysis.yml b/.github/workflows/ossar-analysis.yml index c8373b1..007fd21 100644 --- a/.github/workflows/ossar-analysis.yml +++ b/.github/workflows/ossar-analysis.yml @@ -14,7 +14,7 @@ jobs: steps: # Checkout your code repository to scan - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. @@ -27,9 +27,9 @@ jobs: # Install dotnet, used by OSSAR - name: Install .NET - uses: actions/setup-dotnet@v2 + uses: actions/setup-dotnet@v3 with: - dotnet-version: '6.0.x' + dotnet-version: '6.x' # Run open source static analysis tools - name: Run OSSAR