diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fca285..4abd74b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ # .github/workflows/ci.yml -name: CI Pipeline +name: '♻️ CI' on: workflow_dispatch: diff --git a/.github/workflows/qodana_code_quality.yml b/.github/workflows/qodana_code_quality.yml index 1ccb88b..e0826ac 100644 --- a/.github/workflows/qodana_code_quality.yml +++ b/.github/workflows/qodana_code_quality.yml @@ -1,28 +1,31 @@ -name: Qodana +name: '🧠 Qodana: Static Code Analysis' + on: workflow_dispatch: pull_request: push: - branches: # Specify your branches here - - main # The 'main' branch - - 'releases/*' # The release branches + branches: + - master jobs: qodana: runs-on: ubuntu-latest + permissions: contents: write pull-requests: write checks: write + steps: - uses: actions/checkout@v3 with: - ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit - fetch-depth: 0 # a full history is required for pull request analysis + ref: ${{ github.event.pull_request.head.sha }} + fetch-depth: 0 + - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2024.2 + uses: JetBrains/qodana-action@v2024.3 with: pr-mode: false env: QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_590242153 }} - QODANA_ENDPOINT: 'https://qodana.cloud' \ No newline at end of file + QODANA_ENDPOINT: 'https://qodana.cloud' diff --git a/README.md b/README.md index 6b9d55c..7c4481a 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,6 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![CI Pipeline](https://github.com/zingz0r/CloudFlare.Client/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/zingz0r/CloudFlare.Client/actions/workflows/ci.yml?query=branch%3Amaster) -[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=CloudFlare.Client&metric=coverage)](https://sonarcloud.io/dashboard?id=CloudFlare.Client) -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=CloudFlare.Client&metric=alert_status)](https://sonarcloud.io/dashboard?id=CloudFlare.Client) -[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=CloudFlare.Client&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=CloudFlare.Client) > **_Info:_** The library currently targets the .Net Standard platforms diff --git a/qodana.yaml b/qodana.yaml index 1a65a73..95369a3 100644 --- a/qodana.yaml +++ b/qodana.yaml @@ -1,6 +1,9 @@ version: "1.0" -linter: jetbrains/qodana-cdnet:2024.3 +linter: jetbrains/qodana-cdnet:2024.3-eap profile: name: qodana.recommended include: - name: CheckDependencyLicenses +dotnet: + solution: CloudFlare.Client.sln + configuration: Release