From d57f9e68886073963bd49c7cf2a9a643a7de9306 Mon Sep 17 00:00:00 2001 From: Michael Lieshoff Date: Tue, 12 Dec 2023 08:12:08 +0100 Subject: [PATCH] Remove Qodana (#177) * Sadly remove Qodana * Sadly remove Qodana * Fix version number --------- Co-authored-by: Michael Lieshoff --- .github/workflows/code_coverage.yml | 40 ----------------------- .github/workflows/code_coverage_pr.yml | 45 -------------------------- .github/workflows/code_quality.yml | 25 -------------- CHANGELOG.md | 11 ++++++- README.md | 7 ++-- VERSION.txt | 2 +- pom.xml | 9 +----- qodana.yaml | 6 ---- 8 files changed, 15 insertions(+), 130 deletions(-) delete mode 100644 .github/workflows/code_coverage.yml delete mode 100644 .github/workflows/code_coverage_pr.yml delete mode 100644 .github/workflows/code_quality.yml delete mode 100644 qodana.yaml diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml deleted file mode 100644 index 237fb8a..0000000 --- a/.github/workflows/code_coverage.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Code Coverage Overall - -on: - schedule: - - cron: "1 0 * * *" - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout Code - uses: actions/checkout@v3 - with: - ref: master - - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 17 - cache: maven - - - name: Start E2E tests - run: mvn test - - - name: Archive coverage data - uses: actions/upload-artifact@v2 - with: - name: maven-coverage-data-jacoco - path: .qodana/code-coverage - - - name: Qodana Scan - uses: JetBrains/qodana-action@main - env: - QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} - with: - args: "--linter,jetbrains/qodana-jvm:2023.2-eap" - pr-mode: false \ No newline at end of file diff --git a/.github/workflows/code_coverage_pr.yml b/.github/workflows/code_coverage_pr.yml deleted file mode 100644 index 3d2b17d..0000000 --- a/.github/workflows/code_coverage_pr.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Code Coverage Pull Request - -on: - workflow_dispatch: - pull_request: - push: - branches: - - master - - 'releases/*' - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - name: Checkout Code - uses: actions/checkout@v3 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - - - name: Set up JDK - uses: actions/setup-java@v3 - with: - distribution: zulu - java-version: 17 - cache: maven - - - name: Run Tests - run: mvn test - - - name: Archive coverage data - uses: actions/upload-artifact@v2 - with: - name: maven-coverage-data-jacoco - path: .qodana/code-coverage - - - name: Qodana Scan - uses: JetBrains/qodana-action@main - env: - QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} - with: - args: "--linter,jetbrains/qodana-jvm:2023.2-eap" - pr-mode: true \ No newline at end of file diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml deleted file mode 100644 index 5461234..0000000 --- a/.github/workflows/code_quality.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Qodana -on: - workflow_dispatch: - pull_request: - push: - branches: - - main - - 'releases/*' - -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 - - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2023.2 - env: - QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index d84010d..18b1669 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## [Unreleased] +## [3.0.4] - 2023-12-12 + +### Removed + +- Qodana + ## [3.0.3] - 2023-09-26 ### Added @@ -107,7 +113,10 @@ - Create a Release job (#152) -[unreleased]: https://github.com/mlieshoff/jcrapi2/compare/v3.0.3...HEAD +[unreleased]: https://github.com/mlieshoff/jcrapi2/compare/v3.0.4...HEAD +[3.0.4]: https://github.com/mlieshoff/jcrapi2/compare/v3.0.3...3.0.4 +[3.0.3]: https://github.com/mlieshoff/jcrapi2/compare/v3.0.2...3.0.3 +[3.0.2]: https://github.com/mlieshoff/jcrapi2/compare/v3.0.1...3.0.2 [3.0.1]: https://github.com/mlieshoff/jcrapi2/compare/v3.0.0...3.0.1 [3.0.0]: https://github.com/mlieshoff/jcrapi2/compare/v2.1.5...3.0.0 [2.1.5]: https://github.com/mlieshoff/jcrapi2/compare/v2.1.4...v2.1.5 diff --git a/README.md b/README.md index 08e8379..a8e140a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ [![](https://img.shields.io/badge/java-packagecloud.io-844fec.svg)](https://packagecloud.io/) -[![Qodana](https://github.com/mlieshoff/jcrapi2/actions/workflows/code_quality.yml/badge.svg)](https://github.com/mlieshoff/jcrapi2/actions/workflows/code_quality.yml) [![Nightlies](https://github.com/mlieshoff/jcrapi2/actions/workflows/nightlies.yml/badge.svg)](https://github.com/mlieshoff/jcrapi2/actions/workflows/nightlies.yml) -# jcrapi2 3.0.3 +# jcrapi2 3.0.4 A Java Wrapper For Official Supercell Clash Royal Api ## Why we don't use the Swagger scheme? @@ -425,7 +424,7 @@ All requests are returning *java.concurrent.Future*. The execution will be async to Gradle: ```groovy - implementation group: 'jcrapi2', name: 'jcrapi2', version: '3.0.3' + implementation group: 'jcrapi2', name: 'jcrapi2', version: '3.0.4' ``` to Maven: @@ -433,7 +432,7 @@ to Maven: jcrapi2 jcrapi2 - 3.0.3 + 3.0.4 ``` diff --git a/VERSION.txt b/VERSION.txt index 89ee692..c5217fc 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -v3.0.3 \ No newline at end of file +v3.0.4 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 64b90b1..27f614c 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 jcrapi2 jar - 3.0.3 + 3.0.4 jcrapi2 https://maven.apache.org 2018 @@ -94,13 +94,6 @@ report - - ${project.basedir}/.qodana/code-coverage/ - XML - - jcrapi2/** - - diff --git a/qodana.yaml b/qodana.yaml deleted file mode 100644 index 33030e7..0000000 --- a/qodana.yaml +++ /dev/null @@ -1,6 +0,0 @@ -version: "1.0" -linter: jetbrains/qodana-jvm-community:2023.2 -exclude: - - name: All - paths: - - src/main/java/jcrapi2/build \ No newline at end of file